/**
* Check to see if we should show the changelog activity if there are any new changes
* to the configuration file.
*
* @param ctx the context to launch the activity with
* @param configId the changelog configuration xml resource id
*/
public static void checkChangelogDialog(Activity ctx, @XmlRes int configId){
// Parse configuration
ChangeLog changeLog = Parser.parse(ctx, configId);
if(changeLog != null){
// Validate that there is a new version code
if(validateVersion(ctx, changeLog)) {
openChangelogDialog(ctx, configId);
}
}else{
throw new NullPointerException("Unable to find a 'Winds' configuration @ " + configId);
}
}
Winds.java 文件源码
java
阅读 31
收藏 0
点赞 0
评论 0
项目:android-52Kit
作者:
评论列表
文章目录