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

Commit ff1f7090 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Set systemReady before querying the portStatus."

parents f6f3aba7 d399f2ea
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -138,6 +138,7 @@ public class UsbPortManager {
    }

    public void systemReady() {
	mSystemReady = true;
        if (mProxy != null) {
            try {
                mProxy.queryPortStatus();
@@ -146,7 +147,6 @@ public class UsbPortManager {
                        "ServiceStart: Failed to query port status", e);
            }
        }
        mSystemReady = true;
    }

    public UsbPort[] getPorts() {