!803 断开geo连接重置状态

Merge pull request !803 from smilebear/master
This commit is contained in:
openharmony_ci 2024-07-30 12:11:24 +00:00 committed by Gitee
commit 20b27b2b7a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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");
}
}