USB: Correct title bar notification am: c0162a74b9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15580595 Change-Id: I4fc584669ebab303fefbfae7b1ff1bb8d1aabcbd
This commit is contained in:
@@ -1193,7 +1193,8 @@ public class UsbDeviceManager implements ActivityTaskManagerInternal.ScreenObser
|
||||
} else if (mCurrentFunctions == UsbManager.FUNCTION_MIDI) {
|
||||
titleRes = com.android.internal.R.string.usb_midi_notification_title;
|
||||
id = SystemMessage.NOTE_USB_MIDI;
|
||||
} else if (mCurrentFunctions == UsbManager.FUNCTION_RNDIS) {
|
||||
} else if ((mCurrentFunctions == UsbManager.FUNCTION_RNDIS)
|
||||
|| (mCurrentFunctions == UsbManager.FUNCTION_NCM)) {
|
||||
titleRes = com.android.internal.R.string.usb_tether_notification_title;
|
||||
id = SystemMessage.NOTE_USB_TETHER;
|
||||
} else if (mCurrentFunctions == UsbManager.FUNCTION_ACCESSORY) {
|
||||
|
||||
Reference in New Issue
Block a user