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

Commit 501b2b40 authored by Kenny Root's avatar Kenny Root Committed by Android Git Automerger
Browse files

am a6703415: am 85fb2066: Amend previous ndc commit

Merge commit 'a6703415' into kraken

* commit 'a6703415':
  Amend previous ndc commit
parents 7c1cf2e2 a6703415
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -642,8 +642,9 @@ class MountService extends IMountService.Stub
    }
    }


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