fix(android): use dedicated notification icon instead of system download glyph
This commit is contained in:
parent
6cbec90360
commit
cf758f6d68
|
|
@ -83,7 +83,7 @@ class ProxyForegroundService : Service() {
|
||||||
.setStyle(
|
.setStyle(
|
||||||
NotificationCompat.BigTextStyle().bigText(payload.detailsText),
|
NotificationCompat.BigTextStyle().bigText(payload.detailsText),
|
||||||
)
|
)
|
||||||
.setSmallIcon(android.R.drawable.stat_sys_download_done)
|
.setSmallIcon(R.drawable.ic_proxy_notification)
|
||||||
.setContentIntent(createOpenAppPendingIntent())
|
.setContentIntent(createOpenAppPendingIntent())
|
||||||
.addAction(
|
.addAction(
|
||||||
0,
|
0,
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24"
|
||||||
|
android:viewportHeight="24">
|
||||||
|
<path
|
||||||
|
android:fillColor="#FFFFFFFF"
|
||||||
|
android:pathData="M5,4h14v3h-5v12h-4V7H5z" />
|
||||||
|
<path
|
||||||
|
android:fillColor="#FFFFFFFF"
|
||||||
|
android:pathData="M8,20h8v2H8z" />
|
||||||
|
</vector>
|
||||||
Loading…
Reference in New Issue