commit | 872dd81bdee8fef0e33dd0dc041447c214795437 | [log] [tgz] |
---|---|---|
author | Fiona Campbell <flc@google.com> | Mon May 08 12:28:49 2023 +0000 |
committer | Fiona Campbell <flc@google.com> | Fri May 12 21:46:58 2023 +0000 |
tree | 159bbcab0e610d614cddb321a4c8edb7c0fc0136 | |
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