Delete unused method

This commit is contained in:
J-Jamet
2018-03-02 12:49:18 +01:00
parent 0899c7fc5a
commit b30c2656e8

View File

@@ -19,7 +19,6 @@
*/
package com.keepassdroid.utils;
import android.app.Activity;
import android.content.ActivityNotFoundException;
import android.content.Context;
import android.content.Intent;
@@ -66,16 +65,6 @@ public class Util {
gotoUrl(context, context.getString(resId));
}
public static String getEditText(Activity act, int resId) {
TextView te = (TextView) act.findViewById(resId);
if (te != null) {
return te.getText().toString();
} else {
return "";
}
}
public static void copyStream(InputStream in, OutputStream out) throws IOException {
byte[] buf = new byte[1024];
int read;