Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit eb0a7dee authored by Kazuki Takise's avatar Kazuki Takise
Browse files

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
parent 5b476f04
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment