|
@@ -270,13 +270,13 @@ function checkSystemEnableLocation() {
|
|
|
function requestAndroidPermissions() {
|
|
|
const locationPermission=checkLocationPermission()
|
|
|
const optimizationStatus=checkBatteryOptimizationStatus()
|
|
|
- const runningPermission=checkBackgroundRunningPermission()
|
|
|
+ // const runningPermission=checkBackgroundRunningPermission()
|
|
|
// const lockStatus=checkAppLockStatus()
|
|
|
const permissionArr=[
|
|
|
{type: 'location',state:locationPermission},
|
|
|
{type: 'battery',state:optimizationStatus},
|
|
|
// {type: 'appLock',state:lockStatus},
|
|
|
- {type: 'backstage',state:runningPermission},
|
|
|
+ // {type: 'backstage',state:runningPermission},
|
|
|
// {type: 'appLock',state:lockStatus},
|
|
|
]
|
|
|
return permissionArr
|