Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f68f66f6 authored by James Wei's avatar James Wei Committed by Automerger Merge Worker
Browse files

USB: Correct title bar notification am: c0162a74 am: 5402c211 am: 430fcbba am: 510e8d88

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15580595

Change-Id: Ibd777d8d51d7e0fa89f552a725cdcc4bb1c24175
parents 0ecd830d 510e8d88
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1199,7 +1199,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) {