summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2017-01-20 16:14:51 -0800
committerWinson Chung <winsonc@google.com>2017-01-24 09:15:01 -0800
commit59fda9e2175742d86fa982600dd1cf09d8151180 (patch)
treee1394f6c17f269b6f0f9616c6c173c88fab5b1f9 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentf779f91cd2c944a2c7c6ecbae124847fc3d7a034 (diff)
Adding AppOps setting for entering PiP when hidden.
- In O, apps can request to enter picture-in-picture when the user effectively leaves their activity for another task by default. To prevent this from being abused, we need to add a setting for the user to disable this behavior per-package in the system level. When disabled, any activity from that package will only be able to enter picture-in-picture when it is visible and resumed. Bug: 34520451 Test: android.server.cts.ActivityManagerPinnedStackTests Test: #testAppOpsDenyPipOnPause Change-Id: Ib3a993e99ffb071706c6b7d3fb1c882b74acc5d7 Signed-off-by: Winson Chung <winsonc@google.com>
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions