Merge "Fix system_notification_accent_color in Vpn.java as well." am: 15390dd13f am: a7b302d3bc

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1993693

Change-Id: Ie54f14a45e1e5fae340990a8da8dfee8edf572c6
This commit is contained in:
Lorenzo Colitti
2022-02-22 11:20:10 +00:00
committed by Automerger Merge Worker

View File

@@ -2020,7 +2020,8 @@ public class Vpn {
.setCategory(Notification.CATEGORY_SYSTEM) .setCategory(Notification.CATEGORY_SYSTEM)
.setVisibility(Notification.VISIBILITY_PUBLIC) .setVisibility(Notification.VISIBILITY_PUBLIC)
.setOngoing(true) .setOngoing(true)
.setColor(mContext.getColor(R.color.system_notification_accent_color)); .setColor(mContext.getColor(
android.R.color.system_notification_accent_color));
notificationManager.notify(TAG, SystemMessage.NOTE_VPN_DISCONNECTED, builder.build()); notificationManager.notify(TAG, SystemMessage.NOTE_VPN_DISCONNECTED, builder.build());
} finally { } finally {
Binder.restoreCallingIdentity(token); Binder.restoreCallingIdentity(token);