Skip to content

Commit 4690627

Browse files
krutonandroid-build SharedAccount
authored andcommitted
Amend previous ndc commit
Submitted wrong patchset. This includes the delta for the latest patchset. Change-Id: I63bb9a37dd9100550ae07a3a1c9fdd9fd71724e1
1 parent a34c9ca commit 4690627

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

services/java/com/android/server/MountService.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,8 +642,9 @@ private void notifyVolumeStateChange(String label, String path, int oldState, in
642642
}
643643

644644
private boolean doGetShareMethodAvailable(String method) {
645+
ArrayList<String> rsp;
645646
try {
646-
ArrayList<String> rsp = mConnector.doCommand("share status " + method);
647+
rsp = mConnector.doCommand("share status " + method);
647648
} catch (NativeDaemonConnectorException ex) {
648649
Slog.e(TAG, "Failed to determine whether share method " + method + " is available.");
649650
return false;

0 commit comments

Comments
 (0)