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

Commit f482546c authored by Dianne Hackborn's avatar Dianne Hackborn Committed by android-build-merger
Browse files

Merge "Fix issue #77931346: The notification that should not be named appeared" into pi-dev

am: 98d2d895

Change-Id: I1753b00beb6fbcb7b7e5273e4d371b3609acd310
parents 3ec5192a 98d2d895
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -108,6 +108,8 @@ public final class ActiveServices {

    private static final boolean LOG_SERVICE_START_STOP = false;

    private static final boolean SHOW_DUNGEON_NOTIFICATION = false;

    // How long we wait for a service to finish executing.
    static final int SERVICE_TIMEOUT = 20*1000;

@@ -942,6 +944,10 @@ public final class ActiveServices {
            smap.mActiveForegroundAppsChanged = false;
        }

        if (!SHOW_DUNGEON_NOTIFICATION) {
            return;
        }

        final NotificationManager nm = (NotificationManager) mAm.mContext.getSystemService(
                Context.NOTIFICATION_SERVICE);
        final Context context = mAm.mContext;