Created
July 1, 2013 02:14
-
-
Save mlc/5897951 to your computer and use it in GitHub Desktop.
necessary change to ConnectedDevice.java to get things to compile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/builder/src/main/java/com/android/builder/testing/ConnectedDevice.java b/builder/src/main/java/com/android/builder/testing/ConnectedDevice.java | |
index 8a1aa64..edfe30a 100644 | |
--- a/builder/src/main/java/com/android/builder/testing/ConnectedDevice.java | |
+++ b/builder/src/main/java/com/android/builder/testing/ConnectedDevice.java | |
@@ -28,7 +28,6 @@ import com.android.utils.ILogger; | |
import java.io.File; | |
import java.io.IOException; | |
-import java.util.concurrent.TimeUnit; | |
/** | |
* Local device connected to with ddmlib. This is a wrapper around {@link IDevice}. | |
@@ -92,10 +91,10 @@ public class ConnectedDevice extends DeviceConnector { | |
@Override | |
public void executeShellCommand(String command, IShellOutputReceiver receiver, | |
- long maxTimeToOutputResponse, TimeUnit maxTimeUnits) | |
+ int maxTimeToOutputResponse) | |
throws TimeoutException, AdbCommandRejectedException, | |
ShellCommandUnresponsiveException, IOException { | |
- iDevice.executeShellCommand(command, receiver, maxTimeToOutputResponse, maxTimeUnits); | |
+ iDevice.executeShellCommand(command, receiver, maxTimeToOutputResponse); | |
} | |
@Override |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment