summaryrefslogtreecommitdiff
path: root/opengl/java
diff options
context:
space:
mode:
author Nicolo' Mazzucato <nicomazz@google.com> 2023-04-05 12:58:22 +0000
committer Nicolo' Mazzucato <nicomazz@google.com> 2023-04-12 07:39:29 +0000
commit66266df517f3a084dc60d455321823a92eb5a6cf (patch)
treeb40c69023d96db1985457bb5b484b9f07bd1a53c /opengl/java
parent44e160108df1ec76cf014d053b9dce1b4bd598db (diff)
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
Diffstat (limited to 'opengl/java')
0 files changed, 0 insertions, 0 deletions