commit | 329f4129a5114af353477b999453ffdcedcbbc25 | [log] [tgz] |
---|---|---|
author | Craig Mautner <cmautner@google.com> | Thu Nov 07 09:10:42 2013 -0800 |
committer | Craig Mautner <cmautner@google.com> | Thu Nov 07 09:10:42 2013 -0800 |
tree | 5f3b81c4d215a0fed151ac8fce1a57c2ae15230e | |
parent | 7791b84c153463431635d2a8aa0fda7f1d8763a7 [diff] |
Don't call setTask twice. The method ActivityRecord.setTask() removes the ActivityRecord from its old task's mActivities ArrayList. In jb-mr2 it did not have this side effect (there was no mActivities) so calling it twice was not a problem. This fix causes setTask to only be called once for the target activity. Fixes bug 11557835. Change-Id: If2b6d4b297e86130009713efe6891a24fad3dd15