Loading src/com/android/launcher3/LauncherModel.java +2 −2 Original line number Diff line number Diff line Loading @@ -1839,7 +1839,7 @@ public class LauncherModel extends BroadcastReceiver final boolean isSafeMode = manager.isSafeMode(); final LauncherAppsCompat launcherApps = LauncherAppsCompat.getInstance(context); final boolean isSdCardReady = context.registerReceiver(null, new IntentFilter(StartupReceiver.SYESTEM_READY)) != null; new IntentFilter(StartupReceiver.SYSTEM_READY)) != null; LauncherAppState app = LauncherAppState.getInstance(); DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); Loading Loading @@ -2267,7 +2267,7 @@ public class LauncherModel extends BroadcastReceiver if (!isSdCardReady && !sPendingPackages.isEmpty()) { context.registerReceiver(new AppsAvailabilityCheck(), new IntentFilter(StartupReceiver.SYESTEM_READY), new IntentFilter(StartupReceiver.SYSTEM_READY), null, sWorker); } Loading src/com/android/launcher3/StartupReceiver.java +2 −2 Original line number Diff line number Diff line Loading @@ -6,10 +6,10 @@ import android.content.Intent; public class StartupReceiver extends BroadcastReceiver { static final String SYESTEM_READY = "com.android.launcher3.SYESTEM_READY"; static final String SYSTEM_READY = "com.android.launcher3.SYSTEM_READY"; @Override public void onReceive(Context context, Intent intent) { context.sendStickyBroadcast(new Intent(SYESTEM_READY)); context.sendStickyBroadcast(new Intent(SYSTEM_READY)); } } Loading
src/com/android/launcher3/LauncherModel.java +2 −2 Original line number Diff line number Diff line Loading @@ -1839,7 +1839,7 @@ public class LauncherModel extends BroadcastReceiver final boolean isSafeMode = manager.isSafeMode(); final LauncherAppsCompat launcherApps = LauncherAppsCompat.getInstance(context); final boolean isSdCardReady = context.registerReceiver(null, new IntentFilter(StartupReceiver.SYESTEM_READY)) != null; new IntentFilter(StartupReceiver.SYSTEM_READY)) != null; LauncherAppState app = LauncherAppState.getInstance(); DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); Loading Loading @@ -2267,7 +2267,7 @@ public class LauncherModel extends BroadcastReceiver if (!isSdCardReady && !sPendingPackages.isEmpty()) { context.registerReceiver(new AppsAvailabilityCheck(), new IntentFilter(StartupReceiver.SYESTEM_READY), new IntentFilter(StartupReceiver.SYSTEM_READY), null, sWorker); } Loading
src/com/android/launcher3/StartupReceiver.java +2 −2 Original line number Diff line number Diff line Loading @@ -6,10 +6,10 @@ import android.content.Intent; public class StartupReceiver extends BroadcastReceiver { static final String SYESTEM_READY = "com.android.launcher3.SYESTEM_READY"; static final String SYSTEM_READY = "com.android.launcher3.SYSTEM_READY"; @Override public void onReceive(Context context, Intent intent) { context.sendStickyBroadcast(new Intent(SYESTEM_READY)); context.sendStickyBroadcast(new Intent(SYSTEM_READY)); } }