summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorTetsutoki Shiozawa <tetsutoki.x.shiozawa@sonymobile.com>2020-01-27 15:37:10 +0900
committerAlan Viverette <alanv@google.com>2020-05-18 18:29:40 +0000
commit2e2664fa50afe9459e24636157a7f6913eed65dc (patch)
treef92ea9c7bddd547157dbbb53b860ade75a2b622a /tools/aapt2/java/JavaClassGenerator.cpp
parent547aeb27e8170d4dbcfc471209518f3f8491d8fb (diff)
[ProgressBar] Fix: Media volume bar indicates a wrong value
Symptom: Media volume bar shows non-zero value even during the mute state. Root cause: A request for updating progress of ProgressBar has 2 kind of updating ways, animated and non-animated. If a non-animated request is invoked before completing an animated request, the visual progress can be overwritten by the old animated request. As a result, the visual progress value becomes different from the actual value. Solution: A running animation on the primary progress should be canceled before handling a new non-animated request. Bug: 148759348 Test: atest CtsWidgetTestCases:ProgressBarTest Change-Id: I569dbea4c6346ecfff8141d8378b4952fb1fa530 Merged-In: I569dbea4c6346ecfff8141d8378b4952fb1fa530
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions