version:2.2.11.3
fix: update:更新白名单,优化gps耗电
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user