Status bar background color should not be transparent.

Bug: 130431689
Test: Manual
Change-Id: Ida8788f2d758eedaf5db0139f81a65402ba0b88b
This commit is contained in:
Priyank Singh
2019-07-16 14:25:53 -07:00
parent d796dbe3f9
commit 3228b57d8e
2 changed files with 8 additions and 1 deletions

View File

@@ -1473,6 +1473,9 @@ public interface WindowManager extends ViewManager {
* <p>When this flag is enabled for a window, it automatically sets
* the system UI visibility flags {@link View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and
* {@link View#SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN}.</p>
*
* <p>Note: For devices that support
* {@link android.content.pm.PackageManager#FEATURE_AUTOMOTIVE} this flag may be ignored.
*/
public static final int FLAG_TRANSLUCENT_STATUS = 0x04000000;
@@ -1492,6 +1495,10 @@ public interface WindowManager extends ViewManager {
* <p>When this flag is enabled for a window, it automatically sets
* the system UI visibility flags {@link View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and
* {@link View#SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION}.</p>
*
* <p>Note: For devices that support
* {@link android.content.pm.PackageManager#FEATURE_AUTOMOTIVE} this flag can be disabled
* by the car manufacturers.
*/
public static final int FLAG_TRANSLUCENT_NAVIGATION = 0x08000000;

View File

@@ -32,7 +32,7 @@
<color name="system_bar_background_opaque">#ff172026</color>
<color name="status_bar_background_color">#33000000</color>
<drawable name="system_bar_background">@android:color/transparent</drawable>
<drawable name="system_bar_background">@color/status_bar_background_color</drawable>
<!-- The background color of the notification shade -->
<color name="notification_shade_background_color">#DD000000</color>