commit | 4c864595bdb19bb3dea5884f385aedb012073159 | [log] [tgz] |
---|---|---|
author | Adrian Roos <roosa@google.com> | Wed Apr 10 14:47:57 2019 +0200 |
committer | Adrian Roos <roosa@google.com> | Wed Apr 10 18:16:25 2019 +0200 |
tree | 59ff604167cf30cf56aee613fb9894508a85428e | |
parent | cb1536862860fb4fe58e3c19b4a230f32290e678 [diff] [blame] |
System Bars: Ensure contrast when app requested transparent bar Bug: 129533768 Test: atest EnsureBarContrastTest Change-Id: Ib8f4045b9e8e7bf65c13437133f114d91d0cb050
diff --git a/packages/overlays/NavigationBarModeGesturalOverlay/res/values/config.xml b/packages/overlays/NavigationBarModeGesturalOverlay/res/values/config.xml index 704ff2e..86fd47b 100644 --- a/packages/overlays/NavigationBarModeGesturalOverlay/res/values/config.xml +++ b/packages/overlays/NavigationBarModeGesturalOverlay/res/values/config.xml
@@ -33,4 +33,8 @@ <!-- Controls the size of the back gesture inset. --> <dimen name="config_backGestureInset">20dp</dimen> + <!-- Controls whether the navbar needs a scrim with + {@link Window#setEnsureNavigationBarContrastWhenTransparent}. --> + <bool name="config_navBarNeedsScrim">false</bool> + </resources>