Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a1a9055d authored by Hongwei Wang's avatar Hongwei Wang
Browse files

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
parent 8517bf06
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment