Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 01be5cd2 authored by Ben Lin's avatar Ben Lin
Browse files

Don't carry out resuming activity in TaskFragment if not ready.

This is checked at ActivityTaskSupervisor, but by that point it is possible all the TaskFragment states have been updated, and so the next time attempting to resume will just no-op. Instead we should exit early if we have signal to defer resume until later.

Test: atest
android.server.wm.activity.lifecycle.ActivityLifecycleTopResumedStateTests#testTopPositionLaunchedBehindLockScreen
Bug: 385864843
Flag: com.android.window.flags.ensure_keyguard_does_transition_starting

Change-Id: I3af7401e5ec1e2379ce5cb74df8c81547ec4ceb2
parent d037da48
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment