Merge "Fixed NPE when pause is complete on a dead app." into nyc-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
5db4e723cd
@@ -1308,7 +1308,9 @@ final class ActivityStack {
|
||||
// It is possible the activity was freezing the screen before it was paused.
|
||||
// In that case go ahead and remove the freeze this activity has on the screen
|
||||
// since it is no longer visible.
|
||||
prev.stopFreezingScreenLocked(true /*force*/);
|
||||
if (prev != null) {
|
||||
prev.stopFreezingScreenLocked(true /*force*/);
|
||||
}
|
||||
mPausingActivity = null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user