Use transparent background in Activity
Ensure the Activity's window can show the wallpaper behind it
Bug: 146390764
Bug: 149374062
Change-Id: I6de921b57480071a4d69e99146753fd33050089e
diff --git a/Android.mk b/Android.mk
index a098ee2..a0d05cb 100644
--- a/Android.mk
+++ b/Android.mk
@@ -26,7 +26,7 @@
LOCAL_MODULE_TAGS := optional
LOCAL_STATIC_ANDROID_LIBRARIES := WallpaperPicker2CommonDepsLib
-LOCAL_STATIC_JAVA_LIBRARIES := styleprotosnano SystemUI-statsd
+LOCAL_STATIC_JAVA_LIBRARIES := styleprotosnano SystemUI-statsd SystemUISharedLib
LOCAL_PROGUARD_ENABLED := disabled
LOCAL_SDK_VERSION := system_current
diff --git a/res/values/styles.xml b/res/values/styles.xml
index d612a32..eb88140 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -38,6 +38,10 @@
<item name="android:windowNoTitle">true</item>
<item name="android:fitsSystemWindows">false</item>
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
+
+ <item name="android:windowBackground">@android:color/transparent</item>
+ <item name="android:windowContentOverlay">@null</item>
+ <item name="android:windowDisablePreview">true</item>
</style>
<!-- Bottom nav -->