Don't show ImmersiveMode notification message for windows that have
a z-index higher than TYPE_STATUS_BAR. Fix: 273554695 Test: Visual - adb shell settings put secure immersive_mode_confirmations unconfirmed Change-Id: I4fec677bba58cbf8348ae38e561e3c8f9115dea7
This commit is contained in:
@@ -2582,7 +2582,8 @@ public class DisplayPolicy {
|
||||
if (win == null) {
|
||||
return false;
|
||||
}
|
||||
if (win == getNotificationShade() || win.isActivityTypeDream()) {
|
||||
if (win.mPolicy.getWindowLayerLw(win) > win.mPolicy.getWindowLayerFromTypeLw(
|
||||
WindowManager.LayoutParams.TYPE_STATUS_BAR) || win.isActivityTypeDream()) {
|
||||
return false;
|
||||
}
|
||||
return getInsetsPolicy().hasHiddenSources(Type.navigationBars());
|
||||
|
||||
Reference in New Issue
Block a user