重置geo连接状态

Signed-off-by: 李文龙 <liwenlong22@huawei.com>
This commit is contained in:
李文龙 2024-07-29 21:20:00 +08:00
parent 38dd2b934f
commit 43df807bd9

View File

@ -345,6 +345,7 @@ void GeoConvertService::DisconnectAbilityConnect()
{
if (conn_ != nullptr) {
AAFwk::AbilityManagerClient::GetInstance()->DisconnectAbility(conn_);
SetServiceConnectState(ServiceConnectState::STATE_DISCONNECT);
LBSLOGI(GEO_CONVERT, "UnloadGeoConvert OnStop and disconnect");
}
}