Skip to content

Commit b20a705

Browse files
committed
Merge branch 'develop'
2 parents bc33fd6 + 0b69aa4 commit b20a705

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/com/github/uiautomatorstub/AutomatorHttpServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public Response serve(String uri, Method method,
3131
if ("/stop".equals(uri)) {
3232
stop();
3333
return new Response("Server stopped!!!");
34-
} else if ("/api/screenshot".equals(uri)) {
34+
} else if ("/0/screenshot".equals(uri)) {
3535
if (Build.VERSION.SDK_INT < 17)
3636
return new Response(Response.Status.INTERNAL_ERROR, MIME_PLAINTEXT, "API level less than 17.");
3737
File f = new File(AutomatorServiceImpl.STORAGE_PATH, "screenshot.png");

0 commit comments

Comments
 (0)