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

Skip to content
Commit 20742b28 authored by wilsonshih's avatar wilsonshih
Browse files

Fix shell transition for showWhenLocked + translucent activity.

Fix two issues if AOD is disabled:
- There should request to adjust wallpaper target after
  ActivityRecord#commitVisibility. The NotificationShade can
  accidentally be wallpaper target when AOD is enabled.
- If resumeTopActivity happen eailer than DisplayPolicy#setAwake, there
  will no transition to collecting the resuming activity, try to
  request a wake transition before resume top activity if default
  display is not awake. When AOD is enabled, usually setAwake will
  be called earlier.

Bug: 209906849
Test: 1. enable shell transition. 2. Disable AOD
3. run atest KeyguardTests

Change-Id: Ifc3ce28424fe87b1e0a0a2af07bdad559575ebec
parent 43f53011
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