diff options
author | Riddle Hsu <riddlehsu@google.com> | 2018-10-31 12:55:29 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2018-11-01 21:23:29 +0800 |
commit | 090ac6f9db351fd4f8f7b9e0096cc6815fc8be9f (patch) | |
tree | 28ab0f493bd8d523e998c9fa7372bb598bead7a7 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 906f76ae86b1c321db4d0427f1b0e787b97b1a8f (diff) |
Don't restore from recent task if not launching
The restored task may not contain activities. If the operation
is not to launch an activity (e.g. start activity from recents),
it just produces an unused empty task into stack. That may also
cause an unexpected state than originally intended (e.g. resize
a finished task).
Bug: 113363177
Test: RecentTasksTest#testNotRestoreRecentTaskApis
Change-Id: Ibb8384c0364c421a5d8169f118ea521e7b5f33ae
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions