summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorMichael Wright <michaelwr@google.com>2018-05-14 15:53:48 -0700
committerMichael Wright <michaelwr@google.com>2018-05-14 23:17:01 +0000
commit95f77e1ba2883b584c6af57daa76aa1e043e2ad4 (patch)
tree7a0f6bf94838902e7a6ae3dca2f50fd516bbfee7 /tools/aapt2/java/JavaClassGenerator.cpp
parent183f753624a876c2a5fe120d9f5a6f257acacfa2 (diff)
Decrease the inferred auto-brightness adjustment at the extremes.
Now that the brightness slider always represents the brightness of the panel, rather than the auto-brightness adjustments like it did prior to P, we need to infer the adjustment by comparing the old and new brightness values. At the extremes, this inferred brightness increases dramatically towards (+/-) infinity, so we use a different strategy. Based on dogfood feedback, the current inference seems to have too strong of an effect, so we're cutting it in half in the hopes that this is more reasonable. Change-Id: If6a6c3355f9dcce8588512f1d969c871149ec299 Fixes: 79153846 Test: manual
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions