Merge "Fix system_notification_accent_color in Vpn.java as well."
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user