2 parents bc33fd6 + 0b69aa4 commit b20a705Copy full SHA for b20a705
1 file changed
src/com/github/uiautomatorstub/AutomatorHttpServer.java
@@ -31,7 +31,7 @@ public Response serve(String uri, Method method,
31
if ("/stop".equals(uri)) {
32
stop();
33
return new Response("Server stopped!!!");
34
- } else if ("/api/screenshot".equals(uri)) {
+ } else if ("/0/screenshot".equals(uri)) {
35
if (Build.VERSION.SDK_INT < 17)
36
return new Response(Response.Status.INTERNAL_ERROR, MIME_PLAINTEXT, "API level less than 17.");
37
File f = new File(AutomatorServiceImpl.STORAGE_PATH, "screenshot.png");
0 commit comments