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

Commit 6db0d3d2 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 am: ceb5e422

am: d7032e67

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

Change-Id: Ie36efdf93433c3ad8e9af829b9e277e9eeccead4
parents b36dacae d7032e67
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);