图片选择
This commit is contained in:
@@ -579,6 +579,9 @@ public class DeviceFragment extends BaseV4Fragment implements ObservableScrollVi
|
||||
isMustUpdate = baseBean.data.getIsMustUpdate();
|
||||
apkPath = "";
|
||||
apkPath = Environment.getExternalStorageDirectory() + "/iFish7/apk/iFish7" + versionCode + ".apk"; //存储路径
|
||||
|
||||
L.i("jjia------apk---"+apkPath);
|
||||
L.i("jjia------apk---"+appAddress);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -613,6 +616,7 @@ public class DeviceFragment extends BaseV4Fragment implements ObservableScrollVi
|
||||
versionCode = versionCode.toUpperCase();
|
||||
L.i("jjiaa------版本号"+versionCode);
|
||||
spversionCode = sp.getString("versionCode","");
|
||||
L.i("jjiaa------版本号sp="+versionCode);
|
||||
if (!HttpManager.getVersionName(getActivity()).equals(versionCode) && !spversionCode.equals(versionCode)) {
|
||||
if (!MustUpdate.equals(isMustUpdate)) {
|
||||
sp.putString("versionCode",versionCode);
|
||||
|
||||
Reference in New Issue
Block a user