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

Commit 7ff1a180 authored by Pedlar's avatar Pedlar
Browse files

Fix Notifications so you can't try and test a color if it's set to none (Which...

Fix Notifications so you can't try and test a color if it's set to none (Which is the default setting).
parent e5512c80
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -206,7 +206,7 @@ public class TrackballNotificationActivity extends PreferenceActivity implements
        final int mAlwaysPulse = Settings.System.getInt(getContentResolver(),
                                 Settings.System.TRACKBALL_SCREEN_ON, 0);
        String[] mTestPackage = findPackage(pkg);
        if (mTestPackage == null) {
        if (mTestPackage == null || mTestPackage[1].equals("none")) {
            return;
        }
        final Notification notification = new Notification();