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

Commit bb2965d2 authored by Jerry Zhang's avatar Jerry Zhang
Browse files

Merge commit '6bb98d85' into manual_merge_6bb98d8

Change-Id: I43ad588644c03a2174146525ad62b3d512d66074
parents 1a28d635 6bb98d85
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -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();