Cache the movable content used for Status icons
Caching the movable content based on the TintedIconManager helps by
making sure there's a single AndroidView (and a single registration) for
that TintedIconManager.
This prevents double registering (for example, when switching from
ExpandedShadeHeader to CollapsedShadeHeader in the same scene).
Test: manual, landscape, unfold, fold
Test: atest ExpandSensitiveNotificationOnLockScreenLandscape doesn't
crash
Fixes: 430728918
Flag: com.android.systemui.scene_container
Change-Id: I38f7d461840e72af846b86de04357946dfa8aa52
2 files changed