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

Commit ceb5e422 authored by Wang Le's avatar Wang Le Committed by android-build-merger
Browse files

Merge "Fix the issue that App crash on startForeground."

am: 6f28d02b

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

Change-Id: I2343cf2dffd064cf3ac26bf6ddc34040c6fec5ac
parents 2b44297f 6f28d02b
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);