Skip to content

Commit 235ce6f

Browse files
authored
android: fix unknown argument type long to int
1 parent 11ecbe7 commit 235ce6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/com/zxcpoiu/incallmanager/InCallManagerModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ private void releaseAudioFocus() {
680680
}
681681

682682
@ReactMethod
683-
public void pokeScreen(long timeout) {
683+
public void pokeScreen(int timeout) {
684684
Log.d(TAG, "pokeScreen()");
685685
wakeLockUtils.acquirePokeFullWakeLockReleaseAfter(timeout); // --- default 3000 ms
686686
}

0 commit comments

Comments
 (0)