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

Commit 35479538 authored by Amith Yamasani's avatar Amith Yamasani Committed by android-build-merger
Browse files

Merge "Fix the issue that App crash on startForeground" into nyc-dev am: 0df1ca8a

am: 8850560a

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

Change-Id: I5b6c8e87d8a12622ccaa4c54858e6186111d6cd4
parents 6c1da08f 8850560a
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.