am c3e7f87b: Merge "Fix issue #17740687: Device does not boot after flashing LMP dev TOT(1478825) build." into lmp-dev
* commit 'c3e7f87bf9930a20c37609f567f5d88305fb1ddd': Fix issue #17740687: Device does not boot after flashing LMP dev TOT(1478825) build.
This commit is contained in:
@@ -2243,9 +2243,13 @@ public final class ActivityStackSupervisor implements DisplayListener {
|
||||
r.idle = true;
|
||||
|
||||
//Slog.i(TAG, "IDLE: mBooted=" + mBooted + ", fromTimeout=" + fromTimeout);
|
||||
if (!mService.mBooted && isFrontStack(r.task.stack)) {
|
||||
mService.mBooted = true;
|
||||
enableScreen = true;
|
||||
if (isFrontStack(r.task.stack) || fromTimeout) {
|
||||
booting = mService.mBooting;
|
||||
mService.mBooting = false;
|
||||
if (!mService.mBooted) {
|
||||
mService.mBooted = true;
|
||||
enableScreen = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2273,9 +2277,6 @@ public final class ActivityStackSupervisor implements DisplayListener {
|
||||
mFinishingActivities.clear();
|
||||
}
|
||||
|
||||
booting = mService.mBooting;
|
||||
mService.mBooting = false;
|
||||
|
||||
if (mStartingUsers.size() > 0) {
|
||||
startingUsers = new ArrayList<UserStartedState>(mStartingUsers);
|
||||
mStartingUsers.clear();
|
||||
|
||||
Reference in New Issue
Block a user