This commit is contained in:
M66B
2019-06-09 10:36:29 +02:00
parent 07e2d839f5
commit 9f5c62f534
2 changed files with 0 additions and 10 deletions

View File

@@ -106,7 +106,6 @@ public class ApplicationEx extends Application {
MessageHelper.setSystemProperties();
ContactInfo.init(this, new Handler());
Core.init(this);
WorkerWatchdog.init(this);
}

View File

@@ -120,15 +120,6 @@ class Core {
private static final int DOWNLOAD_BATCH_SIZE = 20;
private static final long YIELD_DURATION = 200L; // milliseconds
static void init(Context context) {
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
SharedPreferences.Editor editor = prefs.edit();
for (String key : prefs.getAll().keySet())
if (key.startsWith("notifying:"))
editor.remove(key);
editor.apply();
}
static void processOperations(
Context context,
EntityAccount account, EntityFolder folder,