diff options
author | jorgegil@google.com <jorgegil@google.com> | 2020-02-03 13:21:27 -0800 |
---|---|---|
committer | jorgegil@google.com <jorgegil@google.com> | 2020-02-04 13:38:25 -0800 |
commit | b8ee18f00287ed2bbf3589bd132e66e6623eac26 (patch) | |
tree | 5452924c24cecee868689a25526bf4ba6a4004fd /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 7bbfd92d84a54a88e585572b15efe58359b09076 (diff) |
Move compat behavior in #onPipRequested to ActivityThread
Removes the pause-hint-resume cycle to trigger PiP out of the
default implementation of #onPictureInPictureRequested and replaces
it with a bool check in its caller in ActivityThread.
This prevents exposing the pause/resume cycle to the public API.
Bug: 148011369
Test: atest FrameworksCoreTests:android.app.activity.ActivityThreadTest
Test: atest CtsWindowManagerDeviceTestCases:PinnedStackTests
Test: atest WmTests:ActivityTaskManagerServiceTests
Change-Id: Iec4f602ccf411a31f0cee5a4599cf2fea6f25994
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions