diff options
author | 2024-02-20 14:53:24 +0900 | |
---|---|---|
committer | 2024-02-21 03:57:46 +0000 | |
commit | eb0a7deefe644ccfe404bc0439cf012e0301dc65 (patch) | |
tree | ebab30054c0061f37e177243330cbb7f22413f34 /libs/hwui/FrameInfoVisualizer.cpp | |
parent | 5b476f040f6da1589b22f90175f467cc07f2b5fb (diff) |
Only dispatch onPipUiStateChanged when it's not finishing
ATMS#onPictureInPictureUiStateChanged() checks the existence of
ActivityRecord before dispatching the callback, but if the
activity finishes itself, the client-side instance might be
invalid already at this point.
Bug: 325986364
Test: atest ActivityLifecyclePipTests#testDestroyPip
Change-Id: I5eb6503cb0bf3132ef4fa87360f9e45842435ad0
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions