Amend previous ndc commit

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

Change-Id: I30f8fa1503cda2459ec7284eb9fa199c9fd5ef9b
diff --git a/services/java/com/android/server/MountService.java b/services/java/com/android/server/MountService.java
index 413d66f..6c2f1b2 100644
--- a/services/java/com/android/server/MountService.java
+++ b/services/java/com/android/server/MountService.java
@@ -642,8 +642,9 @@
     }
 
     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;