Amend previous ndc commit
Submitted wrong patchset. This includes the delta for the latest patchset. Change-Id: I63bb9a37dd9100550ae07a3a1c9fdd9fd71724e1
This commit is contained in:
committed by
android-build SharedAccount
parent
a34c9ca30e
commit
4690627644
@@ -642,8 +642,9 @@ class MountService extends IMountService.Stub
|
|||||||
}
|
}
|
||||||
|
|
||||||
private boolean doGetShareMethodAvailable(String method) {
|
private boolean doGetShareMethodAvailable(String method) {
|
||||||
|
ArrayList<String> rsp;
|
||||||
try {
|
try {
|
||||||
ArrayList<String> rsp = mConnector.doCommand("share status " + method);
|
rsp = mConnector.doCommand("share status " + method);
|
||||||
} catch (NativeDaemonConnectorException ex) {
|
} catch (NativeDaemonConnectorException ex) {
|
||||||
Slog.e(TAG, "Failed to determine whether share method " + method + " is available.");
|
Slog.e(TAG, "Failed to determine whether share method " + method + " is available.");
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user