Improved notification color
This commit is contained in:
parent
5947152550
commit
4a9affef54
@ -102,6 +102,7 @@ public class DaedalusVpnService extends VpnService implements Runnable {
|
|||||||
.setContentTitle(getResources().getString(R.string.notification_activated))
|
.setContentTitle(getResources().getString(R.string.notification_activated))
|
||||||
.setDefaults(NotificationCompat.DEFAULT_LIGHTS)
|
.setDefaults(NotificationCompat.DEFAULT_LIGHTS)
|
||||||
.setSmallIcon(R.drawable.ic_security)
|
.setSmallIcon(R.drawable.ic_security)
|
||||||
|
.setColor(getResources().getColor(R.color.colorPrimary)) //backward compatibility
|
||||||
.setAutoCancel(false)
|
.setAutoCancel(false)
|
||||||
.setOngoing(true)
|
.setOngoing(true)
|
||||||
.setTicker(getResources().getString(R.string.notification_activated))
|
.setTicker(getResources().getString(R.string.notification_activated))
|
||||||
|
Loading…
Reference in New Issue
Block a user