mirror of
https://gitee.com/openharmony/base_location
synced 2024-11-23 23:10:05 +00:00
code check
Signed-off-by: 李文龙 <liwenlong22@huawei.com>
This commit is contained in:
parent
4bd4977f44
commit
44714768cb
@ -397,11 +397,11 @@ void AGnssNiManager::SendNiNotification(const GnssNiNotificationRequest ¬if)
|
||||
|
||||
void AGnssNiManager::SendUserResponse(GnssNiResponseCmd responseCmd)
|
||||
{
|
||||
std::unique_lock<std::mutex> lock(mutex_);
|
||||
if (gnssInterface_ == nullptr) {
|
||||
LBSLOGE(GNSS, "gnssInterfacev1_0 is nullptr");
|
||||
return;
|
||||
}
|
||||
std::unique_lock<std::mutex> lock(mutex_);
|
||||
gnssInterface_->SendNiUserResponse(niNotificationId_, responseCmd);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user