commit | acebdc84d182f39add0432b35d974da58f608749 | [log] [tgz] |
---|---|---|
author | Craig Mautner <cmautner@google.com> | Tue Feb 24 10:53:03 2015 -0800 |
committer | Craig Mautner <cmautner@google.com> | Tue Feb 24 11:07:18 2015 -0800 |
tree | a2cbcba2c14fb2985a86b8555252da509d8c6cb9 | |
parent | 8ee1d64c0ac3dba3e72fcc3503c7c36397a5ac74 [diff] |
Cleanup the activity before the task and stack The method cleanupActivityLocked() should be called before removeActivityFromHistoryLocked(). Previously it didn't matter but now that we null TaskRecord.stack when removing the last activity from the task it does. Fixes NPE in bug 19491381. Change-Id: Ia6f8f560c0fe4df330577f313e24d7dd02c18409