version:2.2.11.3
fix: update:更新白名单,优化gps耗电
This commit is contained in:
@@ -82,16 +82,16 @@ android {
|
|||||||
//酷比魔方
|
//酷比魔方
|
||||||
cube {
|
cube {
|
||||||
flavorDimensions "default"
|
flavorDimensions "default"
|
||||||
versionCode 59
|
versionCode 60
|
||||||
versionName "6.2.8.19"
|
versionName "6.2.11.23"
|
||||||
buildConfigField "String", "platform", '"ZhanRuiCube"'
|
buildConfigField "String", "platform", '"ZhanRuiCube"'
|
||||||
}
|
}
|
||||||
|
|
||||||
//MTK
|
//MTK
|
||||||
MTKnewly {
|
MTKnewly {
|
||||||
flavorDimensions "default"
|
flavorDimensions "default"
|
||||||
versionCode 32
|
versionCode 33
|
||||||
versionName "2.2.11.3"
|
versionName "2.2.11.23"
|
||||||
buildConfigField "String", "platform", '"MTK"'
|
buildConfigField "String", "platform", '"MTK"'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -126,8 +126,9 @@ public class MapManager {
|
|||||||
}
|
}
|
||||||
Log.e(TAG, "MapAddress: " + (String) SPUtils.get(mContext, "MapAddress", "-"));
|
Log.e(TAG, "MapAddress: " + (String) SPUtils.get(mContext, "MapAddress", "-"));
|
||||||
Log.e(TAG, "MapError: " + (String) SPUtils.get(mContext, "MapError", "-"));
|
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.Secure.putString(mContext.getContentResolver(), Settings.Secure.LOCATION_PROVIDERS_ALLOWED, "-gps");
|
||||||
|
Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.ASSISTED_GPS_ENABLED, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -968,6 +968,11 @@ public class ApkUtils {
|
|||||||
this.add("com.gl.compositioncorrectionen");
|
this.add("com.gl.compositioncorrectionen");
|
||||||
this.add("cn.wps.moffice_eng");
|
this.add("cn.wps.moffice_eng");
|
||||||
this.add("com.ckl.launcher");
|
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) {
|
public static void showAllAPP(Context context) {
|
||||||
|
|||||||
Reference in New Issue
Block a user