summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorMichael Wright <michaelwr@google.com>2018-05-22 15:35:05 +0100
committerMichael Wright <michaelwr@google.com>2018-05-22 15:45:15 +0100
commit9fdf66b0f19625be5d86d71089668f68eaf20890 (patch)
treeaa0f236f772f2e1c993965c61142a8da93bbdbbd /tools/aapt2/java/JavaClassGenerator_test.cpp
parent6df95fa08778b0639b75182d9dc16764d125408f (diff)
Initialize mPendingAutoBrightnessAdjustment to NaN.
It currently defaults to 0 which is a valid adjustment, so if you have a pre-existing adjustment it will get reset at every reboot and look like a user adjustment. Also, go ahead and set the pending adjustment to NaN if we've seen it before so we don't try to apply it again in the future. Bug: 80119319 Test: manual Change-Id: I206f6d631ec2977a2c1a44f91e0c6c6a09ccd7ec
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions