mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-27 19:35:10 +01:00
Removed app DNS cache
This commit is contained in:
@@ -465,15 +465,6 @@ public class DnsHelper {
|
||||
return result;
|
||||
}
|
||||
|
||||
static void clear(Context context) {
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
SharedPreferences.Editor editor = prefs.edit();
|
||||
for (String key : prefs.getAll().keySet())
|
||||
if (key != null && key.startsWith("dns."))
|
||||
editor.remove(key);
|
||||
editor.apply();
|
||||
}
|
||||
|
||||
static boolean hasDnsSec() {
|
||||
if (BuildConfig.PLAY_STORE_RELEASE)
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user