Merge "Removing user locked change in LauncherAppState" into ub-launcher3-qt-dev
This commit is contained in:
commit
ce0c093133
|
@ -68,9 +68,6 @@ public class LauncherAppState {
|
|||
}
|
||||
|
||||
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) {
|
||||
throw new RuntimeException(
|
||||
"Initializing LauncherAppState in the absence of LauncherProvider");
|
||||
|
|
Loading…
Reference in New Issue