Files
frameworks_base/packages/SettingsLib/MainSwitchPreference
Stanley Wang 9d254516a9 Fixed the issue that the MainSwitchPreference is invalid after the
page is resumed.

- MainSwithBar will be recreated after the page is resumed. We
  should keep the OnMainSwitchChangeListener for
  MainSwitchPreference and re-register the listeners after the
  page is resumed.

Bug: 225289727
Test: manual test and see the UI
Change-Id: I1b959f36fbd4c57fddf6b37ea00f11c486bbe5b9
2022-03-24 11:41:50 +08:00
..
2022-02-08 03:10:04 +00:00