Skip to content

Commit 04b76c4

Browse files
dkramer95fornwall
authored andcommitted
Add missing 'break' in TermuxApiReceiver to prevent fallthrough to Clipboard from CallLog (#183)
1 parent 8250000 commit 04b76c4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/src/main/java/com/termux/api/TermuxApiReceiver.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ public void onReceive(Context context, Intent intent) {
5454
if (TermuxApiPermissionActivity.checkAndRequestPermissions(context, intent, Manifest.permission.READ_CALL_LOG)) {
5555
CallLogAPI.onReceive(context, intent);
5656
}
57+
break;
5758
case "Clipboard":
5859
ClipboardAPI.onReceive(this, context, intent);
5960
break;

0 commit comments

Comments
 (0)