Better WebView present test

This commit is contained in:
M66B
2018-11-26 15:54:38 +01:00
parent 953531de5e
commit b0362207fe
3 changed files with 7 additions and 10 deletions

View File

@@ -187,15 +187,6 @@ public class Helper {
return new DecimalFormat("@@").format(bytes / Math.pow(unit, exp)) + " " + pre + "B";
}
static boolean classExists(String className) {
try {
Class.forName(className);
return true;
} catch (ClassNotFoundException ignored) {
return false;
}
}
static Address myAddress() throws UnsupportedEncodingException {
return new InternetAddress("marcel+fairemail@faircode.eu", "FairCode");
}