diff options
| author | 2023-07-18 20:34:11 +0000 | |
|---|---|---|
| committer | 2023-07-19 00:48:51 +0000 | |
| commit | 532cfe52aaa65641114942bd8a87478901d6558f (patch) | |
| tree | b99d1ea32d9242daf5efd4fc4428258293676c56 /libs/androidfw/StringPool.cpp | |
| parent | 36f53b7910ea863457ec8228fbfa64778d1b6330 (diff) | |
Listen to DisplayManager to get screen on/off states.
-After TTW optimizations on Pixel watch, ACTION_SCREEN_ON/OFF
broadcast is not guaranteed to be fired. Use a more reliable
method to monitor screen on/off states.
-See: go/wear-dd-aod-off-ttw-opt.
Test: Performing tilt/untilt gestures on Pixel watch and verify
SetParameters is called when screen is on/off.
Bug: 291313447
Change-Id: Ia374eb6634597283ac92328a6efa25c7aa9779a0
Signed-off-by: Ziyang Cheng <ziyangch@google.com>
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions