USB: Correct title bar notification
Change notification in accordance with additional tethering support on NCM Bug: 196240561 Test: Manual test: Switch USB tethering to and from MTP / Charge Only Change-Id: I7a5e1d7066774d60c3ba7f453554dc3a25b0af69
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