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

am: cb783ea2ee

Change-Id: I25480c62f1faae0853ec868057df4bad936c5c08
This commit is contained in:
Dan Sandler
2019-09-18 11:44:20 -07:00
committed by android-build-merger

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))