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

Commit b2a7422f authored by Lorenzo Colitti's avatar Lorenzo Colitti
Browse files

Fix system_notification_accent_color in Vpn.java as well.

The previous CL only fixed it in LockdownVpnTracker.

Test: forrest
Change-Id: I5e4dd34a45615bc1221a93fb52ef290d924acb3e
parent ea9b16fa
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -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);