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

Commit 6f28d02b authored by Amith Yamasani's avatar Amith Yamasani Committed by Gerrit Code Review
Browse files

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

parents f6aabd95 179ebbe6
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);