diff options
author | Chong Zhang <chz@google.com> | 2015-08-05 14:21:36 -0700 |
---|---|---|
committer | Chong Zhang <chz@google.com> | 2015-08-06 12:11:55 -0700 |
commit | b546f7e0d830c2be96eb6ded1c16d49b2429e6c9 (patch) | |
tree | c82bd8dec01d97c733d5392ada86bd9a2b39e7aa /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 2e4cc9f45392e7bbc66d1265741004d2abd2223b (diff) |
Only launch an activity in an existing task if activity types match
Activities with FLAG_ACTIVITY_NEW_TASK and FLAG_ACTIVITY_CLEAR_TASK
flags, when sharing the home activity's task, could cause the home
activity to be cleared. Later when home is launched again, a reset
of the task will be triggered each time.
Don't put an activity into a task unless the activity types match.
(This covers both home and recents activities.)
bug: 21880868
Change-Id: Ida26d187a6552914826bf45e537a731b3a15ea70
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions