OSDN Git Service

resolve merge conflicts of a50a419b82 to ub-launcher3-master.
authorSunny Goyal <sunnygoyal@google.com>
Fri, 11 Dec 2015 22:18:16 +0000 (14:18 -0800)
committerSunny Goyal <sunnygoyal@google.com>
Fri, 11 Dec 2015 22:18:16 +0000 (14:18 -0800)
Change-Id: Ie0e233e22284b8ddd2dbb86204e042651b6dfae2

1  2 
src/com/android/launcher3/DeviceProfile.java
src/com/android/launcher3/LauncherAppState.java

@@@ -108,16 -105,7 +109,16 @@@ 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();
      }
  
      /**