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

Commit 11638519 authored by Steve Kondik's avatar Steve Kondik Committed by Gerrit Code Review
Browse files

Merge "Add LegacyUsbDeviceManager::setCurrentFunction method." into ics

parents 56396d8f 29248e19
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -640,4 +640,10 @@ public class LegacyUsbDeviceManager extends UsbDeviceManager {
            }
        }
    }

    @Override
    public void setCurrentFunction(String function, boolean makeDefault) {
        if (DEBUG) Slog.d(TAG, "setCurrentFunction(" + function + ") default: " + makeDefault);
        mHandler.sendMessage(MSG_SET_CURRENT_FUNCTION, function, makeDefault);
    }
}