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

Commit 8850560a authored by Wang Le's avatar Wang Le Committed by android-build-merger
Browse files

Merge "Fix the issue that App crash on startForeground" into nyc-dev

am: 0df1ca8a

* commit '0df1ca8a':
  Fix the issue that App crash on startForeground

Change-Id: I111d108df308978b72edf427954396ce0d50e26a
parents ca8ecc0b 0df1ca8a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -441,7 +441,7 @@ final class ServiceRecord extends Binder {
                    Notification localForegroundNoti = _foregroundNoti;
                    try {
                        if (localForegroundNoti.getSmallIcon() == null) {
                            // It is not correct for the caller to supply a notification
                            // It is not correct for the caller to not supply a notification
                            // icon, but this used to be able to slip through, so for
                            // those dirty apps we will create a notification clearly
                            // blaming the app.