Clear UsageProgressBarPreference image view before setting images
The legacy image view will be kept when setting different image view to UsageProgressBarPreference, this will cause UsageProgressBarPreference display duplicate views after setting many times, add removeAllViews() before addView() to fix it. Bug: 174964885 Test: atest UsageProgressBarPreferenceTest Change-Id: Id6b89dccb07a88f2f1be78a19c1de3ac3835087b
Loading
Please register or sign in to comment