[DO NOT MERGE] Magnify status bar
This regressed with the recent z-ordering wm refactoring
Changing it back to old behabvior
Fixes: 74463331
Test: ensure attached bug is fixed
Change-Id: I7938a4b32a237e2fdf2e9f7bb64bab17366cb174
(cherry picked from commit 9552b26ad73bf8b2a4d4caf185ebbf94e638add3)
diff --git a/services/core/java/com/android/server/wm/WindowState.java b/services/core/java/com/android/server/wm/WindowState.java
index c100511..52e4866 100644
--- a/services/core/java/com/android/server/wm/WindowState.java
+++ b/services/core/java/com/android/server/wm/WindowState.java
@@ -4525,8 +4525,7 @@
mAttrs.type == TYPE_NAVIGATION_BAR ||
// It's tempting to wonder: Have we forgotten the rounded corners overlay?
// worry not: it's a fake TYPE_NAVIGATION_BAR_PANEL
- mAttrs.type == TYPE_NAVIGATION_BAR_PANEL ||
- mAttrs.type == TYPE_STATUS_BAR) {
+ mAttrs.type == TYPE_NAVIGATION_BAR_PANEL) {
return false;
}
return true;