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

This commit is contained in:
TreeHugger Robot 2019-06-03 23:44:58 +00:00 committed by Android (Google) Code Review
commit ce0c093133
1 changed files with 0 additions and 3 deletions

View File

@ -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");