Merge "No need to post FGS notifications after process death" into sc-qpr1-dev
This commit is contained in:
@@ -927,9 +927,9 @@ final class ServiceRecord extends Binder implements ComponentName.WithComponentN
|
||||
}
|
||||
|
||||
public void postNotification() {
|
||||
final int appUid = appInfo.uid;
|
||||
final int appPid = app.getPid();
|
||||
if (isForeground && foregroundNoti != null) {
|
||||
if (isForeground && foregroundNoti != null && app != null) {
|
||||
final int appUid = appInfo.uid;
|
||||
final int appPid = app.getPid();
|
||||
// Do asynchronous communication with notification manager to
|
||||
// avoid deadlocks.
|
||||
final String localPackageName = packageName;
|
||||
|
||||
Reference in New Issue
Block a user