summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAustin Wang <wangaustin@google.com>2021-08-11 16:14:17 +0800
committerBeverly Tai <beverlyt@google.com>2021-08-16 13:05:04 +0000
commita88d234f4f6211c293aa50b07f6b282d9f70d11a (patch)
tree3061034fec18d35ad570573e21697eadd6357335 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent193406410a3d4ff07aa148e3178d20b24426e83c (diff)
Auto adjust screen brightness when display state on while docked
Enable the auto screen brightness for display on when docked. DOZE_AOD_DOCKED has STATE_ON display state in cases when we don't need to worry about registering for the brightness sensor when the display is on (ie: getSelectivelyRegisterProxSensor=false OR brightness sensor doesn't use prox) With this change, devices with getSelectivelyRegisterProxSensor=true and brightnessSensorUsesProx=true will still not register for the brightness sensor when the display state is on. Bug: 194151347 Test: atest DozeScreenBrightnessTest Test: manually verify under DOZE_AOD_DOCKED on devices with and w/o under display prox sensors / brightness sensors that use prox Change-Id: I04f88e7639a9cb0510a985d220da91fd1fb54313
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions