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

Commit 81e31aee 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 am: 8850560a

am: 35479538

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

Change-Id: I584333391adc87d61c1dd30677c9ecdacd53f0e5
parents cba37413 35479538
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.