commit | 2d6dabd23ef1b542163dda85762e48cae001efec | [log] [tgz] |
---|---|---|
author | Chris Li <lihongyu@google.com> | Mon Nov 14 16:44:58 2022 +0800 |
committer | Chris Li <lihongyu@google.com> | Thu Nov 17 06:39:26 2022 +0000 |
tree | 42e99a6c44032a4e95f3a535d1a66de9f001f081 | |
parent | 63a2cda3f262c26c83faa29bf7684b04081b1ea2 [diff] |
Enforce onActivityReparentedToTask 1. Only allow when the activity is trusted embedded, because sharing ComponentName of untrusted embedded is not safe. 2. Trim the activity Intent to those that are needed and safe for Activity Filter. Bug: 255701223 Test: atest WmTests:TaskFragmentOrganizerControllerTest Change-Id: I0c03b95a2b7a9c91315d09a77dc4b855e464a2f5