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:18 +0000 |
| commit | 18a6c10e71a2fc9d35ddf257f834db595cd21593 (patch) | |
| tree | 5842faa766c4f0687658ec2d06ba0aa4a1e8a3ed /tools/aapt2/java/JavaClassGenerator_test.cpp | |
| parent | 89724759c7a5c6096b739cde335d53964823e96e (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
Merged-In: I569dbea4c6346ecfff8141d8378b4952fb1fa530
Change-Id: I569dbea4c6346ecfff8141d8378b4952fb1fa530
(cherry picked from commit 589552766cfcee56fcb4c31803f0b54126b30f02)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions
