Skip to content
Commit 9d254516 authored by Stanley Wang's avatar Stanley Wang
Browse files

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
parent 3ecf7b2c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment