diff options
author | Filip Gruszczynski <gruszczy@google.com> | 2016-01-22 16:43:48 -0800 |
---|---|---|
committer | Wale Ogunwale <ogunwale@google.com> | 2016-03-01 09:29:14 -0800 |
commit | c3b6179fca9085824e03e44c89ca8dbf5d1cff3a (patch) | |
tree | dfe150dcfb446e3701d4ac7a6258e02a5156f94d /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | cd7043e99abd14fd586ab6bf37a40c55cd529f3e (diff) |
Relaunch activity resumed if it got resumed before relaunching.
This fixes following scenario:
1) first activity starts second activity and expects results; first
activity gets paused;
2) second activity finishes and returns a result;
3) first activity is still paused and receives the result from the second
activity; first activty requests a local relaunch; relaunch gets
scheduled and is marked as launching paused (because the activity is
still paused)
4) first activity resumes;
5) first activity relaunches and finishes in paused state.
The fix makes it drop the information about launching paused if it is
local when it gets resumed in step 4.
Bug: 25674611
Bug: 26116905
Change-Id: Ieeef3f0d5c311679882fdc59c13fd8a99e3d3a20
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions