diff options
author | Dan Sandler <dsandler@android.com> | 2019-09-12 22:27:09 -0400 |
---|---|---|
committer | Dan Sandler <dsandler@android.com> | 2019-09-12 23:11:36 -0400 |
commit | bc20d4e79f5a2ac07bfca6122a7054124eb27925 (patch) | |
tree | 61d9ab76ababae44d6c7f071e4d2735cc77f022e /packages/Shell/src | |
parent | d191463bb0a528d3dc97a21b85ad83374b27c239 (diff) |
Bugreport progress notification should use the bug icon.
(Don't worry, stat_sys_adb isn't going away, but it will
only be used by the ADB notification now.)
Bug: 138661761
Test: initiate bugreport from globalactions
Change-Id: I238659d50f70bfbc047133d89afb76f78ec841f9
Diffstat (limited to 'packages/Shell/src')
-rw-r--r-- | packages/Shell/src/com/android/shell/BugreportProgressService.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/Shell/src/com/android/shell/BugreportProgressService.java b/packages/Shell/src/com/android/shell/BugreportProgressService.java index 7bdaaa167b9b..857cb2af41f6 100644 --- a/packages/Shell/src/com/android/shell/BugreportProgressService.java +++ b/packages/Shell/src/com/android/shell/BugreportProgressService.java @@ -1079,9 +1079,7 @@ public class BugreportProgressService extends Service { } return new Notification.Builder(context, NOTIFICATION_CHANNEL_ID) .addExtras(sNotificationBundle) - .setSmallIcon( - isTv(context) ? R.drawable.ic_bug_report_black_24dp - : com.android.internal.R.drawable.stat_sys_adb) + .setSmallIcon(R.drawable.ic_bug_report_black_24dp) .setLocalOnly(true) .setColor(context.getColor( com.android.internal.R.color.system_notification_accent_color)) |