Merge "Fix wrong candidate window when display immersive_mode_confirm." into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
0bf88c5ad2
@@ -3292,7 +3292,7 @@ public class DisplayPolicy {
|
||||
// keys, we let it keep controlling the visibility.
|
||||
final boolean lastFocusCanReceiveKeys =
|
||||
(mLastFocusedWindow != null && mLastFocusedWindow.canReceiveKeys());
|
||||
winCandidate = isKeyguardShowing() ? mNotificationShade
|
||||
winCandidate = isKeyguardShowing() && !isKeyguardOccluded() ? mNotificationShade
|
||||
: lastFocusCanReceiveKeys ? mLastFocusedWindow
|
||||
: mTopFullscreenOpaqueWindowState;
|
||||
if (winCandidate == null) {
|
||||
|
||||
Reference in New Issue
Block a user