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

Skip to content
Commit 345baf63 authored by Chris Li's avatar Chris Li
Browse files

Enforce TaskFragmentOrganizer can only manipulate organized TF

When TaskFragmentOrganizer apply a WCT using TaskFragment token, we
should also enforce that the TaskFragment is organized by the caller,
because when an app is embedded by another app, the embedee may be
able to get the fragment token from
ActivityClientRecord#mInitialTaskFragmentToken.

Also remove check for TYPE_REORDER because it is currently only
supported for Task, and we need to re-evaluate cross-process embedding
overlay if we want to allow reorder.

Bug: 243741794
Bug: 243330085
Test: atest WmTests:TaskFragmentOrganizerControllerTest
Change-Id: I92afbddd7086c606e55cdf2982d9a241adde8db9
parent 38a3a662
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment