ui: do not enforce contrast after api 29

Set the enforce*BarContrast methods to false above API 29, so we can
use fully transparent navigation and status bars.

Previously, we used a mostly transparent color for such, but now, we
can use a completely transparent color without it being changed to
match contrast.
This commit is contained in:
OxygenCobalt
2022-07-15 21:09:16 -06:00
parent 4d283bc91d
commit 863929fb64
7 changed files with 39 additions and 30 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Note: Not actually transparent, making it transparent would actually make it translucent -->
<color name="chrome_transparent">#01151515</color>
<color name="chrome_transparent_ish">#01151515</color>
<color name="widget_surface">@color/material_dynamic_secondary20</color>
<color name="widget_surface_inverse">@color/material_dynamic_neutral90</color>