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

Commit e05713d9 authored by Jerry Zhang's avatar Jerry Zhang Committed by Android (Google) Code Review
Browse files

Merge "Merge commit '6bb98d85' into manual_merge_6bb98d8"

parents 6acb4efc bb2965d2
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();