summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorMichael Wright <michaelwr@google.com>2018-04-16 23:13:54 +0100
committerLucas Dupin <dupin@google.com>2018-04-17 19:44:53 +0800
commitcae88753b0724d7f409146eb96fb96ab10970ac7 (patch)
tree9024e6995b3fedfd236958e10d520e40c97b6bea /tools/aapt2/java/JavaClassGenerator.cpp
parent2e79c79ecdd646f826d6cc55a705e9c591b10663 (diff)
Have doze update the scrim controller rather than the scrim state.
Right now, when Doze wants to update the front alpha in AOD, it updates the scrim state's front alpha value. Unfortunately, this is only looked at when transitioning into the state, but entirely ignored once we're in it. With this, we instead tell the scrim controller which tells the scrim state but also updates the current front scrim alpha if we're currently in the AOD state. Bug: 78124574 Bug: 70939994 Test: atest ScrimControllerTest\#transitionToAod_withFrontAlphaUpdates Change-Id: I09b33208bd3e3fd6d3829b33776364aa7b61a4f6
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions