1e41f4b71Sopenharmony_ci# Location Subsystem ChangeLog
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ci## cl.location.1 Deletion of the geoLocationManager.requestEnableLocation API in API Version 9
4e41f4b71Sopenharmony_ci
5e41f4b71Sopenharmony_ciWhen the location function is disabled, your application can call the **geoLocationManager.requestEnableLocation** API to request the user to enable the location function. However, this API is seldom used because the user is not notified of the scenario in which your application uses the location information.
6e41f4b71Sopenharmony_ci
7e41f4b71Sopenharmony_ciTherefore, your application shows a popup, asking the user to go to the settings page and enable the location function. In addition, the popup clearly states the scenarios in which the location information will be used, improving user experience.
8e41f4b71Sopenharmony_ci
9e41f4b71Sopenharmony_ci**Change Impacts**
10e41f4b71Sopenharmony_ci
11e41f4b71Sopenharmony_ciYour application cannot use the **geoLocationManager.requestEnableLocation** API in API version 9 to request the user to enable the location function. Instead, you need to implement a popup asking the user to enable the location function for your application.
12e41f4b71Sopenharmony_ci
13e41f4b71Sopenharmony_ci**Key API/Component Changes**
14e41f4b71Sopenharmony_ci
15e41f4b71Sopenharmony_ci| Class              | API Type| Declaration                                                    | Change Type          |
16e41f4b71Sopenharmony_ci| ------------------ | -------- | ------------------------------------------------------------ | ------------------ |
17e41f4b71Sopenharmony_ci| geoLocationManager | method   | function requestEnableLocation(callback: AsyncCallback<boolean>): void; | Deleted from API version 9|
18e41f4b71Sopenharmony_ci| geoLocationManager | method   | function requestEnableLocation(): Promise<boolean>;    | Deleted from API version 9|
19