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

Commit 7246ef85 authored by Hai Zhang's avatar Hai Zhang Committed by android-build-merger
Browse files

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

am: fbd8c742

Change-Id: I76fb01682868d80c893f064f413db6f988d3dfe0
parents 0067bade fbd8c742
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);