Skip to content
Commit 7b03ad95 authored by Louis Chang's avatar Louis Chang
Browse files

Fix resumeWhilePausing not working

Activity was waiting for previous activity to be paused before
restarting, while the activity has FLAG_RESUME_WHILE_PAUSING set.
This behavior was broken after c2baac05 if the next top activity does
not have process attached.  Ideally, the next top activity should be
restarted after process was bound, but it was postponed to wait for
all pausing activity completed.

Bring the check (whether need to immediately pause previous activity)
back and move it into AS#startPausing().

Bug: 120003748
Test: atest ActivityLifecycleTests PinnedStackTests ActivityStackTests
Change-Id: I067cb1ea6095816bb573a982c5b50605d1b6d077
parent 0383ea90
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment