diff options
| author | 2024-04-19 13:48:05 -0700 | |
|---|---|---|
| committer | 2024-04-22 14:12:57 -0700 | |
| commit | a1a9055db1367922f74c4696c129d0e5028aab15 (patch) | |
| tree | bf88fa9f37b8b59a40b28a726432b46f762b258a /libs/hwui/RootRenderNode.cpp | |
| parent | 8517bf06c0863ab8b0163f416966b8e3ba5384cb (diff) | |
Disallow enterPip from auto-pip-able while pausing
When an app supports auto-enter-pip and requests
Activity#enterPictureInPictureMode while pausing, return false
immediately from the system server.
Such practice, from the app, is not expected and it's against the idea
of auto-enter, which can also cause race conditions.
Bug: 212636597
Test: atest PinnedStackTests
Test: atest ActivityTaskManagerServiceTests
Change-Id: I4e0fca7e83743f5c3edd4bd292f07a11f6ffd441
Diffstat (limited to 'libs/hwui/RootRenderNode.cpp')
0 files changed, 0 insertions, 0 deletions