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

Commit 6075e092 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:...

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

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

Change-Id: I1ee2427ec231b952749dbdff1d5cde80b17f33ff
parents 0b7bceb7 6db0d3d2
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);