Skip to content

Commit 2dfa1ef

Browse files
committed
Add icon for in-app feedback notifications (#4320)
1 parent f1049c5 commit 2dfa1ef

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

firebase-appdistribution/src/main/java/com/google/firebase/appdistribution/impl/FirebaseAppDistributionNotificationsManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ public void showFeedbackNotification(
159159
CharSequence appLabel = packageManager.getApplicationLabel(applicationInfo);
160160
NotificationCompat.Builder builder =
161161
new NotificationCompat.Builder(context, Notification.FEEDBACK.channelId)
162-
.setSmallIcon(appIconSource.getNonAdaptiveIconOrDefault(context))
162+
.setSmallIcon(R.drawable.ic_baseline_rate_review_24)
163163
.setContentTitle(context.getString(R.string.feedback_notification_title))
164164
.setContentText(context.getString(R.string.feedback_notification_text, appLabel))
165165
.setPriority(interruptionLevel.notificationPriority)
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<vector android:height="24dp" android:tint="#000000"
2+
android:viewportHeight="24" android:viewportWidth="24"
3+
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
4+
<path android:fillColor="@android:color/white" android:pathData="M20,2L4,2c-1.1,0 -1.99,0.9 -1.99,2L2,22l4,-4h14c1.1,0 2,-0.9 2,-2L22,4c0,-1.1 -0.9,-2 -2,-2zM6,14v-2.47l6.88,-6.88c0.2,-0.2 0.51,-0.2 0.71,0l1.77,1.77c0.2,0.2 0.2,0.51 0,0.71L8.47,14L6,14zM18,14h-7.5l2,-2L18,12v2z"/>
5+
</vector>

0 commit comments

Comments
 (0)