commit | b147fa12637af828dbcca1976e99f246f95c79d8 | [log] [tgz] |
---|---|---|
author | Ricky Wai <rickywai@google.com> | Thu Apr 25 16:08:30 2019 +0100 |
committer | Ricky Wai <rickywai@google.com> | Thu May 02 18:18:55 2019 +0000 |
tree | feca01239d8a82053fe7beb9a20432aace5dd6fd | |
parent | ec4c269f94c8278ddb1c5a48f62525a460bd038a [diff] |
Restrict background activity start by task We now also allow apps to start activity in its own background task, while that task won't move to front. Background activity is not allowed to be started in new task or app is not in that task stack. Also, task moving / reparent task is not allowed. Bug: 128772406 Test: atest android.server.wm.BackgroundActivityLaunchTest Change-Id: I20f501e755f30f9ef581f7f8c39a2875f959e5b8