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

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

Merge "Fix the issue that App crash on startForeground." am: 6f28d02b

am: ceb5e422

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

Change-Id: I3a1cf74afd0c7948325410d255f1a4743a7f55aa
parents d188a169 ceb5e422
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -458,8 +458,8 @@ final class ServiceRecord extends Binder {
                            }
                            Context ctx = null;
                            try {
                                ctx = ams.mContext.createPackageContext(
                                        appInfo.packageName, 0);
                                ctx = ams.mContext.createPackageContextAsUser(
                                        appInfo.packageName, 0, new UserHandle(userId));

                                Notification.Builder notiBuilder = new Notification.Builder(ctx);