From 07695e0b290593a7deabca4dd11ae95beeeb99db Mon Sep 17 00:00:00 2001 From: Valentin Iftime Date: Fri, 2 Feb 2024 17:17:25 +0100 Subject: [PATCH] Enable polite notifications by default for work profiles Test: atest PoliteNotifWorkProfileToggleControllerTest Bug: 323337417 Change-Id: I859b76156573e62c217c67522a0df601338ecee2 --- .../notification/PoliteNotifWorkProfileToggleController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/settings/notification/PoliteNotifWorkProfileToggleController.java b/src/com/android/settings/notification/PoliteNotifWorkProfileToggleController.java index 65b4fb89b4f..99d0a69826f 100644 --- a/src/com/android/settings/notification/PoliteNotifWorkProfileToggleController.java +++ b/src/com/android/settings/notification/PoliteNotifWorkProfileToggleController.java @@ -62,7 +62,7 @@ public class PoliteNotifWorkProfileToggleController extends TogglePreferenceCont @Override public boolean isChecked() { return Settings.System.getIntForUser(mContext.getContentResolver(), - Settings.System.NOTIFICATION_COOLDOWN_ENABLED, OFF, mManagedProfileId) != OFF; + Settings.System.NOTIFICATION_COOLDOWN_ENABLED, ON, mManagedProfileId) != OFF; } @Override