diff options
Diffstat (limited to 'src/com/android/launcher3/LauncherAppState.java')
-rw-r--r-- | src/com/android/launcher3/LauncherAppState.java | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/com/android/launcher3/LauncherAppState.java b/src/com/android/launcher3/LauncherAppState.java index ca5cd7430..00e4bf4dc 100644 --- a/src/com/android/launcher3/LauncherAppState.java +++ b/src/com/android/launcher3/LauncherAppState.java @@ -16,7 +16,6 @@ package com.android.launcher3; -import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; @@ -42,8 +41,6 @@ public class LauncherAppState { private final IconCache mIconCache; private final WidgetPreviewLoader mWidgetCache; - @Thunk boolean mWallpaperChangedSinceLastCheck; - private static WeakReference<LauncherProvider> sLauncherProvider; private static Context sContext; @@ -117,15 +114,6 @@ public class LauncherAppState { sContext.registerReceiver(mModel, filter); UserManagerCompat.getInstance(sContext).enableAndResetCache(); - if (!Utilities.ATLEAST_KITKAT) { - sContext.registerReceiver(new BroadcastReceiver() { - - @Override - public void onReceive(Context context, Intent intent) { - mWallpaperChangedSinceLastCheck = true; - } - }, new IntentFilter(Intent.ACTION_WALLPAPER_CHANGED)); - } new ConfigMonitor(sContext).register(); ExtractionUtils.startColorExtractionServiceIfNecessary(sContext); @@ -168,12 +156,6 @@ public class LauncherAppState { return mWidgetCache; } - public boolean hasWallpaperChangedSinceLastCheck() { - boolean result = mWallpaperChangedSinceLastCheck; - mWallpaperChangedSinceLastCheck = false; - return result; - } - public InvariantDeviceProfile getInvariantDeviceProfile() { return mInvariantDeviceProfile; } |