diff options
| author | 2024-10-15 22:34:16 +0200 | |
|---|---|---|
| committer | 2024-11-06 19:41:11 +0000 | |
| commit | 82f413cce697fc5892a8168c7cbafb36e5e8926f (patch) | |
| tree | b8cc332fea97e39886e32330da327660e0e810e9 /cmds/bootanimation/BootAnimation.cpp | |
| parent | fd388293d79a288d402aad42ce803deb3c481a83 (diff) | |
Restrict auto-enter PiP on TV via permission
Creates a new permission which needs to be held by an app to be able to
implicitly enter PiP on TV. Checks for the permission when new PiP params
are set and overrides the auto-enter value when permission is not held.
Also prevents PiP entry during onPause and onUserLeaveHint.
Bug: 281512335
Bug: 283115999
Test: atest CtsWindowManagerDeviceOther:PinnedStackTests
Flag: android.app.enable_tv_implicit_enter_pip_restriction
Change-Id: I29a4c4627de79fb7114c9b74f2db74c43e3e2fc7
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions