Amend previous ndc commit

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

Change-Id: I30f8fa1503cda2459ec7284eb9fa199c9fd5ef9b
This commit is contained in:
Kenny Root
2010-06-01 20:50:21 -07:00
parent 89bc139574
commit 85fb20665f

View File

@@ -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;