summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2015-08-24 13:54:19 -0700
committerJorim Jaggi <jjaggi@google.com>2015-09-11 01:53:25 +0000
commit6e90ea03365c6baddc13762c5a701b84540d8bf9 (patch)
tree46248dfc09f0640bf2a5e18f0256d75e3a91d31c /tools/aapt2/java/JavaClassGenerator.cpp
parentb1cebd9ecf2ee3542e815f7f7efc1cb7fd6e6228 (diff)
Don't wait for brightness changes
On some devices, changing the brightness is quite slow, because the change needs to wait for the vsync signal. However, when we are also running a brightness change animation, as soon as the last change has been sent there is a new one pending, leading to that we never reach "clean" state in the PowerManagerService and thus we don't notify clients about the state change, which can delay the animation for waking up while dozing by as much as a second. To fix this, if we only issue a brightness change, we don't block on that because it's not relevant for us. Bug: 22879546 Change-Id: Idad7e90c436bfbc38581fe8ce24d606e432b7952
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions