summaryrefslogtreecommitdiffstats
path: root/services/java/com/android/server
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2010-06-01 20:50:21 -0700
committerKenny Root <kroot@google.com>2010-06-01 20:50:21 -0700
commit85fb20665feadda526ad422c093b859e8c4d40bc (patch)
tree21d302dda6adbcc6c533a54d0afb8802eeaa5faa /services/java/com/android/server
parent89bc1395748a0a139db82adbf01166ed6fa79766 (diff)
downloadframeworks_base-85fb20665feadda526ad422c093b859e8c4d40bc.zip
frameworks_base-85fb20665feadda526ad422c093b859e8c4d40bc.tar.gz
frameworks_base-85fb20665feadda526ad422c093b859e8c4d40bc.tar.bz2
Amend previous ndc commit
Submitted wrong patchset. This includes the delta for the latest patchset. Change-Id: I30f8fa1503cda2459ec7284eb9fa199c9fd5ef9b
Diffstat (limited to 'services/java/com/android/server')
-rw-r--r--services/java/com/android/server/MountService.java3
1 files changed, 2 insertions, 1 deletions
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 @@ 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;