Merge "Bugreport progress notification should use the bug icon." am: cb783ea2ee
am: 704b11756a
Change-Id: I3d4aeb73aedb280e2c60f00d126d0179944e1a65
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