跨设备call修复

Signed-off-by: du-zhihai <duzhihai@huawei.com>
Change-Id: I1fee39a18dc167621737acd7549c135a0f579c19
This commit is contained in:
du-zhihai
2022-11-04 17:55:06 +08:00
parent 45a816341b
commit edefc853ec
+1 -1
View File
@@ -68,7 +68,7 @@ class Callee extends rpc.RemoteObject {
onRemoteRequest(code, data, reply, option) {
console.log("Callee onRemoteRequest code [" + typeof code + " " + code + "]");
if (this.startUpNewRule) {
if (this.startUpNewRule && rpc.IPCSkeleton.isLocalCalling()) {
console.log("Use new start up rule, check caller permission.");
let accessManger = accessControl.createAtManager();
let accessTokenId = rpc.IPCSkeleton.getCallingTokenId();