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

am: ce0c093133

Change-Id: Ib85ff9f162f4511726d270e9d1ab94734c04e054
This commit is contained in:
Sunny Goyal
2019-06-03 16:55:12 -07:00
committed by android-build-merger
@@ -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");