+40
−0
+68
−35
+40
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
The process on the other side of the IPC can keep PreviewLifecycleObserver for any time - until the GC triggers or even longer if there's an accidental leak. This can clocks and other heavy objects on our side. PreviewLifecycleObserver is moved outside the KeyguardRemotePreviewManager to prevent accidental capturing of the manager class via this references. Flag: NONE Bug: 315637349 Test: newly added unit test and verified with Studio profiler Change-Id: If8515407aa75a754d94cff92965d9ee6b713001c