diff options
| author | 2022-04-27 17:24:05 +0800 | |
|---|---|---|
| committer | 2022-04-27 17:24:05 +0800 | |
| commit | 03fbfcbd95453f82ebca8947bb9b5be920df75fb (patch) | |
| tree | 699b4748abd5a7041c7efbdfd42899032b4d68b4 /libs/androidfw/AttributeResolution.cpp | |
| parent | a61b748e3906a150a12e5a27653722206b4790c7 (diff) | |
Fixe the problem of invalid switch preference.
The source of this problem is that onBindViewHolder is called
after the user add the OnMainSwitchChangeListener. Then
preference gets a new MainSwitchBar in onBindViewHolder and
causes the listener to fail.
Bug: 223325900
Test: Manually test and observe the UI
Change-Id: Icc2e3c774ae1a8cb81b8ec5a16a82405aedc7c1c
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions