Use AVD files for wireless charging animation
- use avd files instead of programatically drawing animation
Test: manual
Change-Id: I387080a0e8412fecdf7d935c0ab26f3d5e9f02cc
diff --git a/packages/SystemUI/res/values/styles.xml b/packages/SystemUI/res/values/styles.xml
index 5a03c4a..c0b50ea 100644
--- a/packages/SystemUI/res/values/styles.xml
+++ b/packages/SystemUI/res/values/styles.xml
@@ -524,4 +524,16 @@
<item name="rotateButtonScaleX">-1</item>
</style>
+ <!-- Used to style charging animation AVD animation -->
+ <style name="ChargingAnim" />
+
+ <style name="ChargingAnim.WallpaperBackground">
+ <item name="chargingAnimColor">?attr/wallpaperTextColor</item>
+ <item name="android:textColor">?attr/wallpaperTextColor</item>
+ </style>
+
+ <style name="ChargingAnim.DarkBackground">
+ <item name="chargingAnimColor">@android:color/white</item>
+ <item name="android:textColor">@android:color/white</item>
+ </style>
</resources>