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

Commit 46906276 authored by Kenny Root's avatar Kenny Root Committed by android-build SharedAccount
Browse files

Amend previous ndc commit

Submitted wrong patchset. This includes the delta for the latest
patchset.

Change-Id: I63bb9a37dd9100550ae07a3a1c9fdd9fd71724e1
parent a34c9ca3
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;