Fixed leak and no clock carousel (1/3)
Previously, ClockRegistry is bond to activity lifecycle and it's not stable with unregister call followed by register in a short period of time. Remove the register/unregister ClockRegistry from ClockRegistryProvider (used in activity), and move to app level singleton. Register ClockRegistry listeners when app started and cleaned up when app ended. Bug: 285348630 Bug: 285321790 Test: resume/destroy WPP then launch LS tab Test: rotate foldable inner screen Test: run profiler check no related leaks Change-Id: I5b9d8eba17b3164a3da5f81058c5c6c90f6a2272
Loading
Please register or sign in to comment