mirror of
https://github.com/openharmony/security_device_auth.git
synced 2026-08-24 19:23:10 -04:00
fix ipc_dev_auth_proxy warning
Signed-off-by: zhangyueyao1 <zhangyueyao1@huawei.com>
This commit is contained in:
@@ -148,7 +148,9 @@ sptr<ProxyDevAuth> ProxyDevAuthData::GetProxy() const
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
return iface_cast<ProxyDevAuth>(daSa);
|
||||
auto interface = iface_cast<IMethodsIpcCall>(daSa);
|
||||
// Objects obtained across processes must be proxy.
|
||||
return static_cast<ProxyDevAuth *>(interface.GetRefPtr());
|
||||
}
|
||||
|
||||
int32_t ProxyDevAuthData::ActCall(bool withSync)
|
||||
|
||||
Reference in New Issue
Block a user