Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 41527774 authored by Automerger Merge Worker's avatar Automerger Merge Worker Committed by Android (Google) Code Review
Browse files

Merge "Merge "Don't cancel notifications when pausing work apps" into udc-dev...

Merge "Merge "Don't cancel notifications when pausing work apps" into udc-dev am: 7c966b0c am: e26fc45b"
parents 0cdcce46 4996a461
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1843,7 +1843,7 @@ public class NotificationManagerService extends SystemService {
                }
            } else if (action.equals(Intent.ACTION_MANAGED_PROFILE_UNAVAILABLE)) {
                int userHandle = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, -1);
                if (userHandle >= 0) {
                if (userHandle >= 0 && !mDpm.isKeepProfilesRunningEnabled()) {
                    cancelAllNotificationsInt(MY_UID, MY_PID, null, null, 0, 0, true, userHandle,
                            REASON_PROFILE_TURNED_OFF, null);
                    mSnoozeHelper.clearData(userHandle);