From 85fb20665feadda526ad422c093b859e8c4d40bc Mon Sep 17 00:00:00 2001 From: Kenny Root Date: Tue, 1 Jun 2010 20:50:21 -0700 Subject: Amend previous ndc commit Submitted wrong patchset. This includes the delta for the latest patchset. Change-Id: I30f8fa1503cda2459ec7284eb9fa199c9fd5ef9b --- services/java/com/android/server/MountService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'services') 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 rsp; try { - ArrayList 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; -- cgit v1.1