Skip to content

Commit c6c0e8d

Browse files
author
Quoc Khanh
committed
add timeout param to dismiss incoming call
1 parent c4e0bfe commit c6c0e8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/com/incomingcall/IncomingCallModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public void display(String uuid, String name, String avatar, String info, int ti
5656
i.putExtras(bundle);
5757
reactContext.startActivity(i);
5858

59-
if (timeout != null && timeout > 0) {
59+
if (timeout > 0) {
6060
new Timer().schedule(new TimerTask() {
6161
@Override
6262
public void run() {

0 commit comments

Comments
 (0)