summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2017-08-14 13:33:51 -0700
committerWinson Chung <winsonc@google.com>2017-08-31 18:49:25 +0000
commitab76bbc21160b3030df7532884ffc52672d48219 (patch)
treefc7b819702d1083804c699c88bcf9a4d8de3d7be /tools/aapt2/java/JavaClassGenerator.cpp
parent02584a23b36f10f14dc1d3d188c0be942cd7e3dd (diff)
Ensure that PiP mode changed callback if animation is interrupted
- If a PiP enter animation callback is interrupted, the activity is never actually put into PiP mode, and will never receive onPictureInPictureModeChanged(false) even if enterPictureInPictureMode() returns true due to the change being deduped (it was never in that mode). In this specific case, force a callback to be made to the app so that it has a signal that it is no longer in PiP mode. Bug: 63749396 Test: bit FrameworksServicesTests:com.android.server.wm.BoundsAnimationControllerTests Test: android.server.cts.ActivityManagerPinnedStackTests Test: #testEnterPipInterruptedCallbacks Change-Id: I301c70e4fb0f2175dd6d7b5feae065b41df2878d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions