Update blocked call notification icon and its color

Thanks to an anonymous contributor
This commit is contained in:
xynngh 2020-05-08 21:30:31 +04:00
parent 04e3b951ec
commit a007e95417
2 changed files with 11 additions and 2 deletions

View File

@ -152,8 +152,8 @@ public class NotificationHelper {
NotificationCompat.Builder builder = new NotificationCompat.Builder(
context, CHANNEL_ID_BLOCKED_INFO)
.setSmallIcon(R.drawable.ic_thumb_down_24dp)
.setColor(0xffffff60)
.setSmallIcon(R.drawable.ic_brick_24dp)
.setColor(context.getResources().getColor(R.color.rateNegative))
.setContentTitle(title)
.setContentText(text)
.setPriority(NotificationCompat.PRIORITY_DEFAULT)

View File

@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="#FFFFFFFF"
android:pathData="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm4 12H5v-4h14v4z" />
</vector>