diff --git a/services/device/geolocation/location_arbitrator.cc b/services/device/geolocation/location_arbitrator.cc index e83bbb55c5ee25e3c7c2013c7ebfbc10bde0d9c4..2fe3b4331ff14f19a87308b2891edc6293775f4b 100644 --- a/services/device/geolocation/location_arbitrator.cc +++ b/services/device/geolocation/location_arbitrator.cc @@ -55,9 +55,6 @@ void LocationArbitrator::OnPermissionGranted() { } void LocationArbitrator::StartProvider(bool enable_high_accuracy) { -#if BUILDFLAG(IS_OHOS) - base::AutoLock lock(lock_); -#endif is_running_ = true; enable_high_accuracy_ = enable_high_accuracy;