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

Commit 112ad01d authored by Kenny Root's avatar Kenny Root Committed by Android Git Automerger
Browse files

am 501b2b40: am a6703415: am 85fb2066: Amend previous ndc commit

parents dcb1901f 501b2b40
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -642,8 +642,9 @@ class MountService extends IMountService.Stub
    }

    private boolean doGetShareMethodAvailable(String method) {
        ArrayList<String> rsp;
        try {
            ArrayList<String> rsp = mConnector.doCommand("share status " + method);
            rsp = mConnector.doCommand("share status " + method);
        } catch (NativeDaemonConnectorException ex) {
            Slog.e(TAG, "Failed to determine whether share method " + method + " is available.");
            return false;