commit | 6407d54e339ff78dc5aecda9aee5076267a3ae9d | [log] [tgz] |
---|---|---|
author | Louis Chang <louischang@google.com> | Tue Jul 13 12:32:45 2021 +0800 |
committer | Louis Chang <louischang@google.com> | Sun Jul 18 22:40:46 2021 +0800 |
tree | 38a04e733532d2345077cd58785708596b4aba70 | |
parent | f335f847421d17ebff70c8e1ef5c97ab6090beae [diff] |
Start activity in the embedded TaskFragment if allowed If the task already contains child TaskFragments, an activity should be started in the child TaskFragments, but only doing so if the activity is allowed to be embedded. Currently, an app can embed its activities into its own task. Only system or apps with ACTIVITY_EMBEDDING permission can embed activities of another app. Bug: 193456000 Bug: 189386461 Test: wm presubmit Change-Id: I8707f5f79deb23cc9b2b8d647382416dce6a6e9d