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

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

Merge "Removing user locked change in LauncherAppState" into ub-launcher3-qt-dev

parents ed45267b d17a951d
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -68,9 +68,6 @@ public class LauncherAppState {
    }
    }


    private LauncherAppState(Context context) {
    private LauncherAppState(Context context) {
        if (!UserManagerCompat.getInstance(context).isUserUnlocked(Process.myUserHandle())) {
            throw new RuntimeException("LauncherAppState should not start in direct boot mode");
        }
        if (getLocalProvider(context) == null) {
        if (getLocalProvider(context) == null) {
            throw new RuntimeException(
            throw new RuntimeException(
                    "Initializing LauncherAppState in the absence of LauncherProvider");
                    "Initializing LauncherAppState in the absence of LauncherProvider");