Merge "Fixing 'No data transfer' mode in USB configuration"
This commit is contained in:
@@ -922,6 +922,8 @@ public class UsbDeviceManager implements ActivityManagerInternal.ScreenObserver
|
||||
if (!mScreenLocked && mScreenUnlockedFunctions != UsbManager.FUNCTION_NONE) {
|
||||
// If the screen is unlocked, also set current functions.
|
||||
setScreenUnlockedFunctions();
|
||||
} else {
|
||||
setEnabledFunctions(UsbManager.FUNCTION_NONE, false);
|
||||
}
|
||||
break;
|
||||
case MSG_UPDATE_SCREEN_LOCK:
|
||||
|
||||
Reference in New Issue
Block a user