Merge "Bugreport progress notification should use the bug icon."
This commit is contained in:
@@ -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))
|
||||||
|
|||||||
Reference in New Issue
Block a user