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

Commit 32cd5f5b authored by Pedlar's avatar Pedlar
Browse files

Added if null check incase you never set any apps in the LED notifications.

parent 6453bd8a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1118,6 +1118,8 @@ class NotificationManagerService extends INotificationManager.Stub
        public String[] findPackage(String pkg) {
                String mBaseString = Settings.System.getString(mContext.getContentResolver(), Settings.System.NOTIFICATION_PACKAGE_COLORS);
                String[] mBaseArray = getArray(mBaseString);
		if(mBaseArray == null)
			return null;
                for(int i = 0; i < mBaseArray.length; i++) {
                        if(isNull(mBaseArray[i])) {
                                continue;