Skip to content
Commit 66266df5 authored by Nicolo' Mazzucato's avatar Nicolo' Mazzucato
Browse files

Report visibility only when display is fully on in WallpaperService

This is needed as some custom wallpaper interactions need to start when the screen turns on (which is not the same as "wallpaper visibility" or "wake" status).

Previously, only the power state was taken into consideration. However, brightness is turned on after all windows are drawn (brightness is separated from power state).

This was causing some wallpapers to trigger animations while the screen was not yet visible.

Bug: 275057152
Test: Recorded perfetto trace and made sure visibility callback is invoked at the correct moment (after display brightness is turned on)
Change-Id: I8c8c59ad0e3f19880ec543686285a89b0b864739
Merged-In: I8c8c59ad0e3f19880ec543686285a89b0b864739
parent 44e16010
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