mirror of
https://github.com/openharmony/ability_ability_runtime.git
synced 2026-08-24 12:43:16 -04:00
跨设备call修复
Signed-off-by: du-zhihai <duzhihai@huawei.com> Change-Id: I1fee39a18dc167621737acd7549c135a0f579c19
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user