Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 04c969ef authored by Sunny Goyal's avatar Sunny Goyal Committed by Android (Google) Code Review
Browse files

Merge "Fixing spell correcton" into ub-now-master

parents 4da294de 05e318d8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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();
@@ -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);
                }

+2 −2
Original line number Diff line number Diff line
@@ -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));
    }
}