Merge "Fix system_notification_accent_color in Vpn.java as well."

This commit is contained in:
Lorenzo Colitti
2022-02-22 09:10:42 +00:00
committed by Gerrit Code Review

View File

@@ -2006,7 +2006,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);