commit | 04f0b70c13c0b89b11493ff3f26ab2d0d961bd3a | [log] [tgz] |
---|---|---|
author | Craig Mautner <cmautner@google.com> | Tue Oct 22 12:31:01 2013 -0700 |
committer | Craig Mautner <cmautner@google.com> | Tue Oct 22 12:31:01 2013 -0700 |
tree | 76a42f44d270aeb38ff06494c842036548c7af3f | |
parent | a80d6424987602cc3141d4cb4cdee21a54747691 [diff] |
Check for home activity when switching focus. When finishing or stopping an activity the code was automatically refocusing to the next activity on the same stack independent of the task's onTopOfHome flag. When the activity eventually finished or stopped it would then honor the onTopOfHome flag. This fix examines the onTopOfHome flag and arranges the focus correctly if home is the next activity to run. Fixes bug 11318263. Change-Id: I73a8f5e82de04b01acaffe366b085f9e475e1451