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

Commit 982c07e9 authored by Joe Onorato's avatar Joe Onorato Committed by Android Git Automerger
Browse files

am cbb7b05e: Merge "Crash apps when they provide bad notifications instead of...

am cbb7b05e: Merge "Crash apps when they provide bad notifications instead of crashing the system process." into gingerbread

Merge commit 'cbb7b05e' into gingerbread-plus-aosp

* commit 'cbb7b05e':
  Crash apps when they provide bad notifications instead of crashing the system process.
parents 1e2df14a cbb7b05e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -347,7 +347,9 @@ class ServiceRecord extends Binder {
                        // If it gave us a garbage notification, it doesn't
                        // get to be foreground.
                        ams.setServiceForeground(name, ServiceRecord.this,
                                localForegroundId, null, true);
                                0, null, true);
                        ams.crashApplication(appUid, appPid, localPackageName,
                                "Bad notification for startForeground: " + e);
                    }
                }
            });