Skip to content

Commit

Permalink
Show USB icon in notification instead of generic system icon
Browse files Browse the repository at this point in the history
It doesn't make sense to show a generic Android letter version icon for
USB.

Change-Id: I0441fc76fa8beab16675ac91e92e9b0490044dec
  • Loading branch information
kdrag0n authored and sagarrokade006 committed Nov 25, 2020
1 parent 17e8896 commit 9f7cb29
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1144,7 +1144,7 @@ protected void updateUsbNotification(boolean force) {
}

Notification.Builder builder = new Notification.Builder(mContext, channel)
.setSmallIcon(com.android.internal.R.drawable.stat_sys_adb)
.setSmallIcon(com.android.internal.R.drawable.stat_sys_data_usb)
.setWhen(0)
.setOngoing(true)
.setTicker(title)
Expand Down

0 comments on commit 9f7cb29

Please sign in to comment.