commit | 031cda05c33ba443e7fd6428dcb25b8c2a42fff1 | [log] [tgz] |
---|---|---|
author | Stanley Wang <stanleytfwang@google.com> | Fri Apr 22 10:36:43 2022 +0800 |
committer | Stanley Wang <stanleytfwang@google.com> | Wed Apr 27 03:41:06 2022 +0000 |
tree | 502b773dc6cfc9b85cf14619e1a608f90b276b7a | |
parent | 37c4a74b27778d39fa068ba390a7df3521d0faf3 [diff] |
Fixe the problem of invalid switch preference - SettingsMainSwithBar will be recreated after the page is resumed. We should keep the OnMainSwitchChangeListener for SettingsMainSwitchPreference and re-register the listeners after the page is resumed. Fix: 228930107 Fix: 222384287 Test: Manually test and see the UI Change-Id: I9b57053989e611288cf4814b2a0ecbf9e3c55145