Change identity password on changing account password for same tld

This commit is contained in:
M66B
2019-09-01 19:42:52 +02:00
parent 72214f2884
commit c89dd5a979
2 changed files with 19 additions and 0 deletions

View File

@@ -871,6 +871,14 @@ public class Helper {
return true;
}
static String getTld(String host) {
String[] h = host.split("\\.");
if (h.length >= 2)
return h[h.length - 2] + "." + h[h.length - 1];
else
return host;
}
static int getSize(Bundle bundle) {
Parcel p = Parcel.obtain();
bundle.writeToParcel(p, 0);