Merge "Call super.updateState() to set checked status of work profile switch" into main
This commit is contained in:
@@ -131,6 +131,7 @@ public class PoliteNotifWorkProfileToggleController extends TogglePreferenceCont
|
||||
public void updateState(@Nullable Preference preference) {
|
||||
if (preference == null) return;
|
||||
preference.setVisible(isAvailable());
|
||||
super.updateState(preference);
|
||||
}
|
||||
|
||||
private boolean isCoolDownEnabledForPrimary() {
|
||||
|
Reference in New Issue
Block a user