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

Commit 9fb080b2 authored by Steve Kondik's avatar Steve Kondik
Browse files

noman: Fix AIOOB

Change-Id: I6284b8f860a7792b75531fe648ff967b6f78ab6a
parent 29ee3afe
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -674,6 +674,7 @@ public class NotificationManagerService extends SystemService {
                // lights
                // clear only if lockscreen is not active
                // and LED is not forced on by Settings app
                if (mLights.size() > 0) {
                    final String owner = mLights.get(mLights.size() - 1);
                    NotificationRecord ledNotification = mNotificationsByKey.get(owner);
                    if (mKeyguardManager != null && !mKeyguardManager.isKeyguardLocked()) {
@@ -684,6 +685,7 @@ public class NotificationManagerService extends SystemService {
                    }
                }
            }
        }

        @Override
        public void onNotificationError(int callingUid, int callingPid, String pkg, String tag, int id,