diff options
| author | 2023-05-08 12:28:49 +0000 | |
|---|---|---|
| committer | 2023-05-12 21:46:58 +0000 | |
| commit | 872dd81bdee8fef0e33dd0dc041447c214795437 (patch) | |
| tree | 159bbcab0e610d614cddb321a4c8edb7c0fc0136 /libs/input/PointerController.cpp | |
| parent | 6aecb91bd1eb9030565ad91aac182f35b3c86e54 (diff) | |
Only send brightnessChangeEvent if display is on
Here, we add a check to ensure that the dpc that is sending the
brightness change event only if autobrightness is enabled on that dpc.
Bug: 280531558
Test: atest android.display.cts
Test: atest com.android.server.display
Change-Id: Idc089e2c97d8c47e3251c5cbd85a14919d6454cc
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions