diff options
author | Bryce Lee <brycelee@google.com> | 2017-03-02 13:23:12 -0800 |
---|---|---|
committer | Bryce Lee <brycelee@google.com> | 2017-03-02 15:27:46 -0800 |
commit | 41801b43d86bbca4e7b98993d8d573cee75b0ae1 (patch) | |
tree | 85bf1f191c96db341cca8e120a167d3fe188356b /tools/aapt2/diff/Diff.cpp | |
parent | 3c954e9e01b4a79535f3de27a20398e6af620df0 (diff) |
Save TaskRecord before calling performClearTaskLocked.
If the activity exists in a task that is in persistent storage, the
task reference will be cleared when its brought to the foreground in
this method. Alternatively, if the activity is finished immediately
as a result of clearing task, the task reference will be lost.
Therefore, we must persist the task reference before calling it.
Change-Id: Id38cf6654f5d4f5b727441048dc6b9a7568b574e
Fixes: 35868563
Test: manual (code and bugreport inspection)
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions