[Catalyst] Support callChangeListener for MainSwitchBarPreference
Bug: 335132588 Flag: EXEMPT library Test: manual Change-Id: I6924ccfa0d66b9a643811f49a2ec3fcdc1d749ae
This commit is contained in:
@@ -109,7 +109,7 @@ public class SettingsMainSwitchBar extends MainSwitchBar {
|
||||
return true;
|
||||
}
|
||||
|
||||
return mSwitch.performClick();
|
||||
return callPreChangeListener() && mSwitch.performClick();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user