From 43df807bd9cc7dabffe05d94f8a5eab952c3809b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=96=87=E9=BE=99?= Date: Mon, 29 Jul 2024 21:20:00 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E7=BD=AEgeo=E8=BF=9E=E6=8E=A5?= =?UTF-8?q?=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 李文龙 --- services/location_geocode/geocode/source/geo_convert_service.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/services/location_geocode/geocode/source/geo_convert_service.cpp b/services/location_geocode/geocode/source/geo_convert_service.cpp index 4a3ebb54..bada7510 100644 --- a/services/location_geocode/geocode/source/geo_convert_service.cpp +++ b/services/location_geocode/geocode/source/geo_convert_service.cpp @@ -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"); } }