summaryrefslogtreecommitdiff
path: root/libs/input/SpriteIcon.cpp
diff options
context:
space:
mode:
author Xiaowen Lei <xilei@google.com> 2024-11-18 19:45:21 +0000
committer Xiaowen Lei <xilei@google.com> 2024-11-20 00:00:06 +0000
commit4b11d34c8f7780c38ff0a7a665cb56dd33bdbb0c (patch)
treea072e112b2a904a84c875228d7e0421c1919a533 /libs/input/SpriteIcon.cpp
parentf9525c43a763ca4e3faf0b9639745eae7354c0e3 (diff)
Fix NotificationProgressBar tracker updating issues.
This fixes issue 2&3 mentioned in the bug description. - Issue 2 is fixed by the changes around `setTracker`. - Issue 3 is fixed by the changes around `onMaybeVisualProgressChanged`. Also only `clipRect` when we intend to, i.e., when `mTrackerHeight` is set to non-zero. Also cleaned up `setTracker` to return early when `tracker == mTracker`. Plus covered a couple more cases for `requestLayout`. (diff patch 2 vs 1). Flag: android.app.api_rich_ongoing Fix: 379359830 Test: manual - steps for issue 2&3 in the bug description. Change-Id: Ie62a90649d5b0ce54f7d0cefcad1da4f3012b028
Diffstat (limited to 'libs/input/SpriteIcon.cpp')
0 files changed, 0 insertions, 0 deletions