Merge "Let non-fill-screen app window control nav bar appearance" into udc-dev am: 99debb96c7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23053886 Change-Id: I6b9d99d10e930af37bb2941e6dec38b4c9406f2b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -1530,6 +1530,11 @@ public class DisplayPolicy {
|
||||
if (isOverlappingWithNavBar(win) && mNavBarColorWindowCandidate == null) {
|
||||
mNavBarColorWindowCandidate = win;
|
||||
}
|
||||
} else if (appWindow && attached == null && mNavBarColorWindowCandidate == null
|
||||
&& win.getFrame().contains(
|
||||
getBarContentFrameForWindow(win, Type.navigationBars()))) {
|
||||
mNavBarColorWindowCandidate = win;
|
||||
addSystemBarColorApp(win);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user