Merge "Don't show ImmersiveMode notification message for windows that have a z-index higher than TYPE_STATUS_BAR." into udc-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
522f630ee5
@@ -2588,7 +2588,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