Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f31a5c43 authored by Haijie Hong's avatar Haijie Hong
Browse files

Update SegmentedButtonPreference

1. Use map instead of list for buttonSetupData, buttonVisibilityData and buttonEnableData.
2. Use notifyChanged when update UI.
3. Move applyCheckIndex(checkedIndex) after clearOnButtonCheckedListeners, so the listener won't be triggered when we call "setCheckIndex".

Bug: 399532172
Test: local tested
Flag: EXEMPT ui fix
Change-Id: Ia8d4e2859ae21d57dabce44813ce91277fdc7f0c
parent 36bb1d84
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment