Home
last modified time | relevance | path

Searched refs:previousFunction (Results 1 – 1 of 1) sorted by relevance

/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/
DUsbDetailsFunctionsController.java133 final long previousFunction = mUsbBackend.getCurrentFunctions(); in onRadioButtonClicked() local
137 + previousFunction + ", toString() : " in onRadioButtonClicked()
138 + UsbManager.usbFunctionsToString(previousFunction)); in onRadioButtonClicked()
140 if (function != previousFunction && !Utils.isMonkeyRunning() in onRadioButtonClicked()
141 && !isClickEventIgnored(function, previousFunction)) { in onRadioButtonClicked()
142 mPreviousFunction = previousFunction; in onRadioButtonClicked()
165 private boolean isClickEventIgnored(long function, long previousFunction) { in isClickEventIgnored() argument
166 return isAccessoryMode(previousFunction) && function == UsbManager.FUNCTION_MTP; in isClickEventIgnored()