diff options
author | Philip P. Moltmann <moltmann@google.com> | 2019-01-31 15:56:18 -0800 |
---|---|---|
committer | Philip P. Moltmann <moltmann@google.com> | 2019-02-11 09:49:22 -0800 |
commit | c3e66d0d77f4fb92ef7587ee2398d5f2426d9684 (patch) | |
tree | 003fe43ec6ef3665f64868239e120e20a020f3ec /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 8c83a07c367482c4a68be33e02e030a59a1f144f (diff) |
Do not ask NEW_TASK flag
When starting a app targeting pre-M for the first time we show the permission
review dialog before going to the actual activity.
I had to add the FLAG_ACTIVITY_MULTIPLE_TASK as otherwise other
permisison controller activities might get reused which is not
desireable.
I did add NEW_TASK, but this was wrong. Forcing a NEW_TASK means that
the result of the opened activity will not be given to the original
caller. This is an API break.
Now I add the FLAG_ACTIVITY_MULTIPLE_TASK only when needed.
There are deeper underlying issues with adding
FLAG_ACTIVITY_MULTIPLE_TASK which will be addressed later in 123541623.
Change-Id: I79564a38fdbc884ea735da6f7899972df83adedb
Fixes: 123707909
Test: - atest CtsAppSecurityHostTestCases:android.appsecurity.cts.PermissionsHostTest
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions