summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Piotr Wilczyński <wilczynskip@google.com> 2024-07-05 18:42:38 +0000
committer Piotr Wilczyński <wilczynskip@google.com> 2024-07-31 09:06:55 +0000
commit0e1aa0d23c18188e9fe10043a74c59352cc9eb2e (patch)
treea5d097690f01640a4f3c20f7a1b6547f854db2ba /api/api_test.go
parentab4779e9007e392bb11212adf1739d053c0db45d (diff)
Enable screen off brightness sensor based on policy
Tapping the fingerprint sensor changes the display state to ON. It's not necessary to unsubscribe from the sensor at that point (and re-subscribe if the fingerprint wasn't recognized) because the doze brightness is still being used. Additionaly: - add missing tests - rename isEnabled to isDisplayEnabled - isEnabled sounded like the sensor or the strategy is enabled/disabled Bug: 341827308 Test: atest DisplayPowerControllerTest, DisplayBrightnessControllerTest, AutoBrightnessFallbackStrategyTest Flag: EXEMPT bugfix Change-Id: Ifd80667704cd91a29c317333f4e2a976127b67f5
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions