We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe63a94 commit 61d1962Copy full SHA for 61d1962
src/main/java/io/appium/java_client/appmanagement/ApplicationState.java
@@ -28,7 +28,7 @@ public enum ApplicationState {
28
* @param code the code received from state querying endpoint.
29
* @return {@link ApplicationState} instance.
30
*/
31
- public static ApplicationState ofCode(int code) {
+ public static ApplicationState ofCode(long code) {
32
return Arrays.stream(ApplicationState.values())
33
.filter(x -> code == x.ordinal())
34
.findFirst()
0 commit comments