Skip to content

Commit 253ee30

Browse files
committed
ignore rpc reportCurrentState message
new message on iOS 14 _rpc_reportCurrentState: <dict> <key>WIRAutomationAvailabilityKey</key> <string>WIRAutomationAvailabilityNotAvailable</string>
1 parent 4cb374e commit 253ee30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/rpc.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ rpc_status rpc_recv_msg(rpc_t self, const char *selector, const plist_t args) {
512512
if (!rpc_recv_applicationUpdated(self, args)) {
513513
return RPC_SUCCESS;
514514
}
515-
} else if (!strcmp(selector, "_rpc_reportConnectedDriverList:")) {
515+
} else if (!strcmp(selector, "_rpc_reportConnectedDriverList:") || !strcmp(selector, "_rpc_reportCurrentState:")) {
516516
return RPC_SUCCESS;
517517
}
518518

0 commit comments

Comments
 (0)