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

Commit a22e3137 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Don't update default home before system is ready." into qt-dev

parents d38f0d34 eef8c06c
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -20921,6 +20921,12 @@ public class PackageManagerService extends IPackageManager.Stub
            Slog.wtf(TAG, "Calling thread " + Thread.currentThread().getName()
                    + " is holding mPackages", new Throwable());
        }
        if (!mSystemReady) {
            // We might get called before system is ready because of package changes etc, but
            // finding preferred activity depends on settings provider, so we ignore the update
            // before that.
            return false;
        }
        final Intent intent = getHomeIntent();
        final List<ResolveInfo> resolveInfos = queryIntentActivitiesInternal(intent, null,
                PackageManager.GET_META_DATA, userId);