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

Commit 9399d145 authored by Merissa Mitchell's avatar Merissa Mitchell
Browse files

[PiP on Desktop] Check App Ops before minimizing to PiP.

Recall: http://recall/clips/b3121879-70fc-4d51-a326-57a5480298d9

When swiping up to enter PiP, AbsSwipeUpHandler on the Launcher side
checks AppOps to see if the app is allowed to enter PiP. This CL adds
this check for Desktop PiP as well (when minimizing to PiP) so it
respects what is set in Settings.

Bug: 370061716
Test: atest DesktopTasksControllerTest
Flag: com.android.window.flags.enable_desktop_windowing_pip
Change-Id: I1451ac8d9723839283b221113a83720212fa15f9
parent 9b19b8f9
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