Merge "Fix a regression in pausing activity immediately on sleep" into klp-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
722b15e000
@@ -2105,12 +2105,12 @@ public final class ActivityStackSupervisor {
|
||||
mService.mHandler.removeMessages(LAUNCH_TIMEOUT_MSG);
|
||||
}
|
||||
}
|
||||
checkReadyForSleepLocked();
|
||||
}
|
||||
|
||||
boolean shutdownLocked(int timeout) {
|
||||
boolean timedout = false;
|
||||
goingToSleepLocked();
|
||||
checkReadyForSleepLocked();
|
||||
|
||||
final long endTime = System.currentTimeMillis() + timeout;
|
||||
while (true) {
|
||||
|
||||
Reference in New Issue
Block a user