Loading services/usb/java/com/android/server/usb/UsbDeviceManager.java +1 −6 Original line number Diff line number Diff line Loading @@ -362,11 +362,6 @@ public class UsbDeviceManager { UsbManager.removeFunction(persisted, UsbManager.USB_FUNCTION_MTP)); } String buildType = SystemProperties.get(BUILD_TYPE_PROPERTY); if (buildType.equals(BUILD_TYPE_USERDEBUG) || buildType.equals(BUILD_TYPE_ENG)) { setAdbEnabled(true); } setEnabledFunctions(null, false, false); String state = FileUtils.readTextFile(new File(STATE_PATH), 0, null).trim(); Loading Loading
services/usb/java/com/android/server/usb/UsbDeviceManager.java +1 −6 Original line number Diff line number Diff line Loading @@ -362,11 +362,6 @@ public class UsbDeviceManager { UsbManager.removeFunction(persisted, UsbManager.USB_FUNCTION_MTP)); } String buildType = SystemProperties.get(BUILD_TYPE_PROPERTY); if (buildType.equals(BUILD_TYPE_USERDEBUG) || buildType.equals(BUILD_TYPE_ENG)) { setAdbEnabled(true); } setEnabledFunctions(null, false, false); String state = FileUtils.readTextFile(new File(STATE_PATH), 0, null).trim(); Loading