From 0bfb405bd386fba03be60b1504f4c1e426ac01dc Mon Sep 17 00:00:00 2001 From: Lucas Silva Date: Tue, 20 Sep 2022 23:32:02 -0400 Subject: Hide the status bar dream overlay when low light is active. We pipe the component name of the currently active dream into the overlay service, and when the active dream is lowlight, we hide the status bar. Test: atest DreamOverlayStateControllerTest Test: atest DreamOverlayStatusBarViewControllerTest Test: manually on device by entering/exiting low light and ensuring the status bar is hidden Fixes: 245386662 Change-Id: I22973538bea19ef108360a319c70c878cfd81800 --- packages/SystemUI/Android.bp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'packages/SystemUI/Android.bp') diff --git a/packages/SystemUI/Android.bp b/packages/SystemUI/Android.bp index f50dc74210e6..df6f08df7c56 100644 --- a/packages/SystemUI/Android.bp +++ b/packages/SystemUI/Android.bp @@ -124,6 +124,7 @@ android_library { "dagger2", "jsr330", "lottie", + "LowLightDreamLib", ], manifest: "AndroidManifest.xml", @@ -227,6 +228,7 @@ android_library { "dagger2", "jsr330", "WindowManager-Shell", + "LowLightDreamLib", ], libs: [ "android.test.runner", -- cgit v1.2.3-59-g8ed1b