Merge "Bugreport progress notification should use the bug icon."

This commit is contained in:
Treehugger Robot
2019-09-18 18:37:38 +00:00
committed by Gerrit Code Review

View File

@@ -1079,9 +1079,7 @@ public class BugreportProgressService extends Service {
} }
return new Notification.Builder(context, NOTIFICATION_CHANNEL_ID) return new Notification.Builder(context, NOTIFICATION_CHANNEL_ID)
.addExtras(sNotificationBundle) .addExtras(sNotificationBundle)
.setSmallIcon( .setSmallIcon(R.drawable.ic_bug_report_black_24dp)
isTv(context) ? R.drawable.ic_bug_report_black_24dp
: com.android.internal.R.drawable.stat_sys_adb)
.setLocalOnly(true) .setLocalOnly(true)
.setColor(context.getColor( .setColor(context.getColor(
com.android.internal.R.color.system_notification_accent_color)) com.android.internal.R.color.system_notification_accent_color))