version:2.2.11.3

fix:
update:更新白名单,优化gps耗电
This commit is contained in:
2022-11-24 09:39:45 +08:00
parent a92fb6b8e0
commit 5da1be5d70
3 changed files with 11 additions and 5 deletions

View File

@@ -126,8 +126,9 @@ public class MapManager {
}
Log.e(TAG, "MapAddress: " + (String) SPUtils.get(mContext, "MapAddress", "-"));
Log.e(TAG, "MapError: " + (String) SPUtils.get(mContext, "MapError", "-"));
// Settings.Secure.putString(mContext.getContentResolver(), Settings.Secure.LOCATION_PROVIDERS_ALLOWED, "-network");
Settings.Secure.putString(mContext.getContentResolver(), Settings.Secure.LOCATION_PROVIDERS_ALLOWED, "-network");
Settings.Secure.putString(mContext.getContentResolver(), Settings.Secure.LOCATION_PROVIDERS_ALLOWED, "-gps");
Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.ASSISTED_GPS_ENABLED, 0);
}
@Override

View File

@@ -968,6 +968,11 @@ public class ApkUtils {
this.add("com.gl.compositioncorrectionen");
this.add("cn.wps.moffice_eng");
this.add("com.ckl.launcher");
this.add("net.forclass.fcstudent");
this.add("com.creative.strokeprovider");
this.add("com.ckl.oraltraining");
this.add("com.ckl.fcfilemanager");
}};
public static void showAllAPP(Context context) {