diff options
| author | Tetsutoki Shiozawa <tetsutoki.x.shiozawa@sonymobile.com> | 2020-01-27 15:37:10 +0900 |
|---|---|---|
| committer | Alan Viverette <alanv@google.com> | 2020-05-18 20:41:34 +0000 |
| commit | e9cff6972bdf709397fb695c1affc602684a109e (patch) | |
| tree | 4182ee40f592bfa96857363b5c354fc3fc8858af /tools/aapt2/java/JavaClassGenerator_test.cpp | |
| parent | b81ccf9376fdd8ec21556e1f4e723099ce9ba096 (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
(cherry picked from commit 589552766cfcee56fcb4c31803f0b54126b30f02)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions
