diff options
| author | 2023-07-11 15:55:58 -0700 | |
|---|---|---|
| committer | 2023-07-12 20:26:10 +0000 | |
| commit | 931efa54c0a0d2419c68787a31f73dc5013d7b16 (patch) | |
| tree | 7260a7a7341c0873f456f535c09f2f44b669a6d4 /libs/androidfw/FileStream.cpp | |
| parent | 22c2e7695fe22f43269ac2a18bf2cc576cebad35 (diff) | |
Make mCurrentPipTaskToken null when app crashes
PipTransition#mCurrentPipTaskToken needs to be nullified
after exit. Otherwise, we end up calling resetPrevPip()
without startEnterAnimation() later on when running PinnedStackTests.
Bug: 287989186
Test: atest PinnedStackTests
Test: run "adb shell am force-stop <pip activity package name>"
after entering PiP, and then check for
mCurrentPipTaskToken in sysdump
Change-Id: Id869f78dbf85f009509082181590e224a6d7f893
Merged-In: Id869f78dbf85f009509082181590e224a6d7f893
(cherry picked from commit 755d0c3df201f920634a473ae94b7eb1f0cad0a3)
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions