Amend previous ndc commit
Submitted wrong patchset. This includes the delta for the latest patchset. Change-Id: I30f8fa1503cda2459ec7284eb9fa199c9fd5ef9b
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user