-[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":1010,"versionName":"2111181108","enabled":true,"outputFile":"ICSer_V1010_2111181108_release.apk","fullName":"release","baseName":"release"},"path":"ICSer_V1010_2111181108_release.apk","properties":{}}]
\ No newline at end of file
+[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":1011,"versionName":"2111241439","enabled":true,"outputFile":"ICSer_V1011_2111241439_release.apk","fullName":"release","baseName":"release"},"path":"ICSer_V1011_2111241439_release.apk","properties":{}}]
\ No newline at end of file
package com.enqualcomm.support;
import android.content.Context;
+import android.os.SystemProperties;
import android.provider.Settings;
+import android.text.TextUtils;
import android.util.JsonReader;
import com.enqualcomm.support.bean.ICLocation;
}
public static void setSkipMoveCheckFlagGlobal(Context context, boolean en) {
+ //修改的时候把prop的也修改掉
+ SystemProperties.set("persist.sys.skip_move", String.valueOf(en));
SharePreferenceUtil.setPrefBoolean(context, KEYGlobalSkipMoveCheckFlag, en);
}
public static boolean getSkipMoveCheckFlagGlobal(Context context) {
- return SharePreferenceUtil.getPrefBoolean(context, KEYGlobalSkipMoveCheckFlag, true);
+ boolean prefBoolean = SharePreferenceUtil.getPrefBoolean(context, KEYGlobalSkipMoveCheckFlag, true);
+ String isSkipMoveStr = SystemProperties.get("persist.sys.skip_move");
+ if (TextUtils.isEmpty(isSkipMoveStr)) {
+ return prefBoolean;
+ }
+ return "true".equals(isSkipMoveStr);
}
public static void setDurationOfVibration(Context context, int cycle) {