处理 Sonar 代码问题
This commit is contained in:
@ -114,7 +114,7 @@ public class SplashScreenActivity extends BaseActivity {
|
||||
long ghLastUpdateTime = SPUtils.getLong(Constants.SP_GH_LAST_UPDATE_TIME, 0);
|
||||
if (ghLastUpdateTime != 0
|
||||
&& ghLastUpdateTime != PackageUtils.getHaloLastUpdateTime()) {
|
||||
HaloApp.getInstance().isReinstallTheSameVersion = true;
|
||||
HaloApp.getInstance().setIsReinstallTheSameVersion(true);
|
||||
}
|
||||
}
|
||||
|
||||
@ -309,7 +309,7 @@ public class SplashScreenActivity extends BaseActivity {
|
||||
SPUtils.setString(Constants.SP_TEMPORARY_DEVICE_ID, localTemporaryDeviceId);
|
||||
}
|
||||
map.put("launch_type", DeviceTokenUtils.getLaunchType().name());
|
||||
} else if (HaloApp.getInstance().isReinstallTheSameVersion) {
|
||||
} else if (HaloApp.getInstance().isReinstallTheSameVersion()) {
|
||||
map.put("launch_type", LunchType.UPDATE.toString());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user