Update systemui animations to GM2.
- Update wifi, bluetooth and hotspot transient animations for pixel and
3 themes
- Move animations from SystemUI to framework so they can be overlayed
(resources cannot reference other resources that only exist in the
target package)
- Remove unused animations
- Holding off on themed lockscreen animations until they are all
complete
- Note that expand/collapse animations are not overlayed since they are
not used in production code (only tuner)
Fixes: 118757654
Test: visual
Change-Id: Id66a2f76ff1f46b2e32f61b709b648aa0fa49672
diff --git a/packages/SystemUI/src/com/android/systemui/qs/tiles/HotspotTile.java b/packages/SystemUI/src/com/android/systemui/qs/tiles/HotspotTile.java
index 5e6f18e..001e094 100644
--- a/packages/SystemUI/src/com/android/systemui/qs/tiles/HotspotTile.java
+++ b/packages/SystemUI/src/com/android/systemui/qs/tiles/HotspotTile.java
@@ -130,7 +130,8 @@
state.isTransient = isTransient;
state.slash.isSlashed = !state.value && !state.isTransient;
if (state.isTransient) {
- state.icon = ResourceIcon.get(R.drawable.ic_hotspot_transient_animation);
+ state.icon = ResourceIcon.get(
+ com.android.internal.R.drawable.ic_hotspot_transient_animation);
}
state.expandedAccessibilityClassName = Switch.class.getName();
state.contentDescription = state.label;