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

Commit 3b498d1c authored by Suprabh Shukla's avatar Suprabh Shukla Committed by android-build-merger
Browse files

Merge "Fix the notification issue shown on startForeground"

am: ea86140b

Change-Id: Ic95c9c78b05c4f4920c04a654296d2a6e4283eea
parents 6f69ea87 ea86140b
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -493,8 +493,9 @@ final class ServiceRecord extends Binder {
                                        Settings.ACTION_APPLICATION_DETAILS_SETTINGS);
                                runningIntent.setData(Uri.fromParts("package",
                                        appInfo.packageName, null));
                                PendingIntent pi = PendingIntent.getActivity(ams.mContext, 0,
                                        runningIntent, PendingIntent.FLAG_UPDATE_CURRENT);
                                PendingIntent pi = PendingIntent.getActivityAsUser(ams.mContext, 0,
                                        runningIntent, PendingIntent.FLAG_UPDATE_CURRENT, null,
                                        UserHandle.of(userId));
                                notiBuilder.setColor(ams.mContext.getColor(
                                        com.android.internal
                                                .R.color.system_notification_accent_color));