Merge "Let non-fill-screen app window control nav bar appearance" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
99debb96c7
@@ -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