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

Commit fa3ba65d authored by zhoulei's avatar zhoulei Committed by android-build-merger
Browse files

Merge "[NotificationManagerService]Support multi users to notification pulse" am: 8516a202

am: 19be2ee6

Change-Id: Ie32bf7de581e0a4ec1cdfe36417c9f8fb512932c
parents 4b6cf3d8 19be2ee6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -847,8 +847,8 @@ public class NotificationManagerService extends SystemService {
        public void update(Uri uri) {
            ContentResolver resolver = getContext().getContentResolver();
            if (uri == null || NOTIFICATION_LIGHT_PULSE_URI.equals(uri)) {
                boolean pulseEnabled = Settings.System.getInt(resolver,
                            Settings.System.NOTIFICATION_LIGHT_PULSE, 0) != 0;
                boolean pulseEnabled = Settings.System.getIntForUser(resolver,
                            Settings.System.NOTIFICATION_LIGHT_PULSE, 0, UserHandle.USER_CURRENT) != 0;
                if (mNotificationPulseEnabled != pulseEnabled) {
                    mNotificationPulseEnabled = pulseEnabled;
                    updateNotificationPulse();