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

Commit a71b5918 authored by Chris Wren's avatar Chris Wren
Browse files

restore the title string un UsbDeviceManager

Bug: 32584866
Test: make
Change-Id: I4e4dea064a1af194db5660b0765cc4c4b666584a
parent 70c429d3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1029,12 +1029,13 @@ public class UsbDeviceManager {
        private void updateAdbNotification() {
            if (mNotificationManager == null) return;
            final int id = SystemMessage.NOTE_ADB_ACTIVE;
            final int titleRes = com.android.internal.R.string.adb_active_notification_title;
            if (mAdbEnabled && mConnected) {
                if ("0".equals(SystemProperties.get("persist.adb.notify"))) return;

                if (!mAdbNotificationShown) {
                    Resources r = mContext.getResources();
                    CharSequence title = r.getText(id);
                    CharSequence title = r.getText(titleRes);
                    CharSequence message = r.getText(
                            com.android.internal.R.string.adb_active_notification_message);