diff options
author | Josh Tsuji <tsuji@google.com> | 2021-04-18 23:12:00 -0400 |
---|---|---|
committer | Josh Tsuji <tsuji@google.com> | 2021-04-18 23:12:02 -0400 |
commit | d5da89479eafee5fb8e28da1b8f83eda32d44ddf (patch) | |
tree | 563b80b5900e183e573d2ee5f89e439aa96261de /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 07d522f307a01ab0c1e103f2e3621d74c5844ed4 (diff) |
Use the existing wallpaper command API to send wake/sleep events to the wallpaper.
This is already used for similar events such as icon drops and user taps. Using it to indicate that the user has woken/slept the device (and passing along location information) makes sense!
This was previously rolled back since WallpaperManager can be null in Car environments. This CL now checks if WallpaperManager is null.
Bug: 169693662
Test: locally with modified wallpaper, it receives events
Change-Id: Ie9d21b4ff4a1edf871540481bc0c4216ed686b7f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions