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

Commit 45cd03ea authored by Geoffrey Pitsch's avatar Geoffrey Pitsch Committed by gitbuildkicker
Browse files

Revert "Re-enable throw when notifications posted can't find channel"

This reverts commit ed0a854b.
Bug: 36785228
Change-Id: I26a50c2050c50d8223ed5c20793db565ba9356d7

(cherry picked from commit c83713db)
parent a778bc38
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -90,7 +90,6 @@ import android.media.AudioManagerInternal;
import android.media.IRingtonePlayer;
import android.net.Uri;
import android.os.Binder;
import android.os.Build;
import android.os.Bundle;
import android.os.Environment;
import android.os.Handler;
@@ -3127,9 +3126,8 @@ public class NotificationManagerService extends SystemService {
                    + ", incomingUserId=" + incomingUserId
                    + ", notificationUid=" + notificationUid
                    + ", notification=" + notification;
            if (Build.IS_DEBUGGABLE) {
                throw new IllegalArgumentException(noChannelStr);
            }
            // STOPSHIP TODO: should throw instead of logging.
            // throw new IllegalArgumentException(noChannelStr);
            Log.e(TAG, noChannelStr);
            return;
        }