Call super.updateState() to set checked status of work profile switch

The switch preference was not correctly reflecting the state of the cooldown setting because the checked state of the switch is set in the parent class's updateState() method.

Fixes: 397554453
Flag: EXEMPT bugfix
Test: manual
Change-Id: I2ce6fe71ac6ed0249c0ad39e99ff5929659d6b5a
diff --git a/src/com/android/settings/notification/PoliteNotifWorkProfileToggleController.java b/src/com/android/settings/notification/PoliteNotifWorkProfileToggleController.java
index 1bfb0ee..6cc3782 100644
--- a/src/com/android/settings/notification/PoliteNotifWorkProfileToggleController.java
+++ b/src/com/android/settings/notification/PoliteNotifWorkProfileToggleController.java
@@ -131,6 +131,7 @@
     public void updateState(@Nullable Preference preference) {
         if (preference == null) return;
         preference.setVisible(isAvailable());
+        super.updateState(preference);
     }
 
     private boolean isCoolDownEnabledForPrimary() {