Show unsopported display size dialog on relaunch

If the display density change made app restart when it was focused
or we navigate back to it after density change and it makes it
restart - we didn't display unsupported display size dialog.

Bug: 29574686
Change-Id: Ic8fdc8a54df160f947e2d340ab2cb2931bac195d
This commit is contained in:
Andrii Kulian
2016-06-22 14:49:58 -07:00
parent ec6db57ac7
commit f42cbe8338

View File

@@ -4741,6 +4741,8 @@ final class ActivityStack {
r.results = null;
r.newIntents = null;
}
mService.showUnsupportedZoomDialogIfNeededLocked(r);
mService.showAskCompatModeDialogLocked(r);
} else {
mHandler.removeMessages(PAUSE_TIMEOUT_MSG, r);
r.state = ActivityState.PAUSED;