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

Commit ea86140b authored by Suprabh Shukla's avatar Suprabh Shukla Committed by Gerrit Code Review
Browse files

Merge "Fix the notification issue shown on startForeground"

parents 2dbd1377 279544c3
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));