diff --git a/services/huks_standard/huks_service/main/os_dependency/sa/hks_sa.cpp b/services/huks_standard/huks_service/main/os_dependency/sa/hks_sa.cpp index c1a4b27f4796a810e84a37195fa405851d796941..ca474075949b06715b7cdc3b963da9bc0dc55bb3 100755 --- a/services/huks_standard/huks_service/main/os_dependency/sa/hks_sa.cpp +++ b/services/huks_standard/huks_service/main/os_dependency/sa/hks_sa.cpp @@ -183,12 +183,9 @@ bool HksService::CanRequest() const int HksService::OnRemoteRequest(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) { - /*std::u16string descriptor = HksService::GetDescriptor(); + // this is the temporary version which comments the descriptor check + std::u16string descriptor = HksService::GetDescriptor(); std::u16string remoteDescriptor = data.ReadInterfaceToken(); - if (descriptor != remoteDescriptor) { - HKS_LOG_E("descriptor is diff."); - return HW_SYSTEM_ERROR; - }*/ if (!CanRequest()) { return HW_PERMISSION_DENIED;