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

Commit c1aaede5 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fixing service notification on secondary users" into oc-dev

parents ad9412cf e1aaf7d5
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -495,8 +495,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));