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

Commit d5bf76fe 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 am: 3b498d1c

am: fd0239aa

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