[SB][Privacy] Fetch current active appops on startup.
This also updates SysUI's chip animation scheduler to ignore an
`isTooEarly` check if the chip animation is forced to be visible (which
is true for privacy events).
Bug: 294104969
Test: start recording, then kill systemui via adb-> verify privacy chip
reappears after restart. Pull down shade and verify chip is correctly
attributed. Stop recording and verify chip/dot disappears.
Test: open camera, then kill systemui via adb -> verify privacy chip
reappears after restart. Pull down shade and verify chip is correctly
attributed. Close camera and verify chip/dot disappears.
Test: smoke test of privacy chip and dot
Test: atest AppOpsControllerTest SystemStatusAnimationSchedulerImplTest
Change-Id: I664bb3003a2f6871113406e3257b7118bbdf2ab5
Merged-In: I664bb3003a2f6871113406e3257b7118bbdf2ab5
(cherry picked from commit 084a7afb4bb41e0cdfdbe67bdd60728d940b4331)
5 files changed