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

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

USB: Correct title bar notification am: c0162a74

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

Change-Id: Ic7c3f9e7929c6a6927f022a9a011bcbc20a69dd0
parents 7b6e8b12 c0162a74
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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) {