Files
frameworks_base/core/java/android/app
Winson Chung 59fda9e217 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>
2017-01-24 09:15:01 -08:00
..
2017-01-24 15:01:24 +00:00
2017-01-23 14:18:33 -08:00
2016-09-15 08:42:35 -04:00
2016-11-04 10:43:25 -07:00
2016-11-04 10:43:25 -07:00