diff options
author | Wale Ogunwale <ogunwale@google.com> | 2015-03-17 11:36:24 -0700 |
---|---|---|
committer | Wale Ogunwale <ogunwale@google.com> | 2015-03-17 13:20:24 -0700 |
commit | 86920fe630911cbbc0839b341dc694c2b905ef9e (patch) | |
tree | b68c60299899ceb6f02f27e3111bedad6972d181 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | fd5767fa37485952b7291ea701cc84c38c2621fc (diff) |
Recompute focus stack if cleared while starting an activity.
When starting an activity with Intent.FLAG_ACTIVITY_CLEAR_TOP flag,
the activity is destoried which can also cause its task to be removed
from its current stack if the activity process record is null. We now
recompute the stack for the activity task when this occurs so we
don't NPE later on.
Bug: 19552874
Change-Id: I50f51ca6dc32d4642f78d59cae93b0774bc6cdb7
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions