mirror of
https://gitee.com/openharmony/applications_settings
synced 2024-11-23 14:30:06 +00:00
update product/phone/src/main/ets/model/locationServicesImpl/LocationService.ts.
Signed-off-by: chenlang <18577333310@163.com>
This commit is contained in:
parent
43f01c3457
commit
270c2a75ee
@ -64,8 +64,6 @@ export class LocationService {
|
||||
LogUtil.info(ConfigData.TAG + 'disable location')
|
||||
try{
|
||||
geolocation.disableLocation()
|
||||
.then((res) => LogUtil.info(ConfigData.TAG + `disenable location, result: ${JSON.stringify(res)}`))
|
||||
.catch(error=> LogUtil.info(ConfigData.TAG + `disenable location, result: ${error}`))
|
||||
}catch(err){
|
||||
LogUtil.info(ConfigData.TAG + `disenable location, result: ${err}`)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user