summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Jernej Virag <jernej@google.com> 2023-12-12 18:32:10 +0100
committer Jernej Virag <jernej@google.com> 2023-12-13 16:05:42 +0100
commit7aaa9bcaf401d1f03020f501115d64ad1bb1ffa5 (patch)
treec906f8d61bcfe43e2d3484e58386429eec7c8368 /libs/input/PointerController.cpp
parent9d708f7ed44d7e874340ebd36b043a55bcf2fe29 (diff)
Release references to KeyguardRemotePreview after onDestroy
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
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions