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) {
|
public void updateState(@Nullable Preference preference) {
|
||||||
if (preference == null) return;
|
if (preference == null) return;
|
||||||
preference.setVisible(isAvailable());
|
preference.setVisible(isAvailable());
|
||||||
|
super.updateState(preference);
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean isCoolDownEnabledForPrimary() {
|
private boolean isCoolDownEnabledForPrimary() {
|
||||||
|
|||||||
Reference in New Issue
Block a user