Merge "Fixing 'No data transfer' mode in USB configuration" am: e8da6089ac am: 0df2517181 am: fb717b6ab2
am: c726e2058e
Change-Id: Ibe40e68ed21615d8fa12137ecc9e7774137fde5b
This commit is contained in:
@@ -909,6 +909,8 @@ public class UsbDeviceManager implements ActivityTaskManagerInternal.ScreenObser
|
||||
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