summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorWale Ogunwale <ogunwale@google.com>2016-09-13 08:25:54 -0700
committerWale Ogunwale <ogunwale@google.com>2016-09-13 10:38:30 -0700
commit826c706156a5b9eff2bdd4d7ef5fecf75cc884b1 (patch)
tree6501eca00e1cec7bb79948fda2f69b08aa575585 /tools/aapt2/diff/Diff.cpp
parente0ca918e23439488bb699f741fd751285ae762ce (diff)
Immediately deliver new intent to paused activity in docked stack
When the docked stack is minimized and we are unminimizing it due to a request to start it's currently paused top activity, it is possible for the new intent not do be delivered immediately because it isn't resumed due to another activity been launched in the system (Recents) which is resumed instead. So, the user won't see the effect of the new intent until they touch the docked activity causing it to get the new intent and resume. We now deliver new intents to the top activity in the docked stack if it is in a minimized state. Then on the client side we temporarily resume the activity and pause it again to guarantee onResume is called after onNewIntent. Bug: 31371093 Change-Id: Ib1764ccf5efc9d6498ce6cc8a34236c79fc07dad
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions