diff options
author | Wale Ogunwale <ogunwale@google.com> | 2015-11-05 09:50:55 -0800 |
---|---|---|
committer | Wale Ogunwale <ogunwale@google.com> | 2015-11-05 18:57:45 +0000 |
commit | 6d42df6d176a8defb3e1f1dedc128763a8b91677 (patch) | |
tree | cf14f4a4583e3af5e7196ca38ba7e3e6f2b60c87 /tools/aapt2/java/AnnotationProcessor_test.cpp | |
parent | ce8bf86d6d6d3342d6b94c90fcfe382070127eb2 (diff) |
Set correct focus activity when using FLAG_ACTIVITY_REORDER_TO_FRONT
When FLAG_ACTIVITY_REORDER_TO_FRONT is used to launch an activity we
move the activity to the front of the task, but the ActivityRecord.frontOfTask
isn't set because the activity isn't in the resumed set yet.
This causes issues later on when we try to detemine the focus activity in
ActivityStack.adjustFocusedActivityLocked.
We now set ActivityRecord.frontOfTask for the activity we are moving
due to FLAG_ACTIVITY_REORDER_TO_FRONT
Bug: 25487874
Change-Id: I4a20e6fb11e04ae16361da27c59aec2641b82bfb
Diffstat (limited to 'tools/aapt2/java/AnnotationProcessor_test.cpp')
0 files changed, 0 insertions, 0 deletions