Fix system_notification_accent_color in Vpn.java as well.

The previous CL only fixed it in LockdownVpnTracker.

Test: forrest
Change-Id: I5e4dd34a45615bc1221a93fb52ef290d924acb3e
This commit is contained in:
Lorenzo Colitti
2022-02-22 10:20:44 +09:00
parent ea9b16facf
commit b2a7422f62

View File

@@ -2006,7 +2006,8 @@ public class Vpn {
.setCategory(Notification.CATEGORY_SYSTEM)
.setVisibility(Notification.VISIBILITY_PUBLIC)
.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());
} finally {
Binder.restoreCallingIdentity(token);