diff options
author | Robin Lee <rgl@google.com> | 2024-01-08 10:52:44 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2024-01-11 01:36:47 +0000 |
commit | e5d19e56178ca78490fd948c8a28ff243f116bbd (patch) | |
tree | ead6af90b7328002e896382a4d6294ab45cb62cf | |
parent | cbeee296d7b34237a7c9212aee8a3aa20104c6ba (diff) | |
download | base-e5d19e56178ca78490fd948c8a28ff243f116bbd.tar.gz |
Make ControlsActivity translucent
This has the (for now) desirable side-effect of preventing
animations when opening/closing. Being a frame around TaskView
the normal close animations don't work for this Activity.
Once the Activity isn't a TaskView (b/293338460) this can be
reverted.
Bug: 312649396
Bug: 293338460
Test: Manual - open/close over home and lockscreen
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:67b8fa60df8a5a58973167fff7ac2bddbb8995b7)
Merged-In: Iad2efcb727b97c923a4608e5fae9ad722cc412f8
Change-Id: Iad2efcb727b97c923a4608e5fae9ad722cc412f8
-rw-r--r-- | packages/SystemUI/res/values/styles.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/res/values/styles.xml b/packages/SystemUI/res/values/styles.xml index c48dd9d2f68b..e3d4419afceb 100644 --- a/packages/SystemUI/res/values/styles.xml +++ b/packages/SystemUI/res/values/styles.xml @@ -921,7 +921,7 @@ <style name="Theme.ControlsActivity" parent="@android:style/Theme.DeviceDefault.NoActionBar"> <item name="android:windowActivityTransitions">true</item> <item name="android:windowContentTransitions">false</item> - <item name="android:windowIsTranslucent">false</item> + <item name="android:windowIsTranslucent">true</item> <item name="android:windowBackground">@android:color/black</item> <item name="android:windowAnimationStyle">@null</item> <item name="android:statusBarColor">@android:color/black</item> |