|
|
@ -922,7 +922,9 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private void checkUpdate(boolean always) {
|
|
|
|
private void checkUpdate(boolean always) {
|
|
|
|
if (Helper.isPlayStoreInstall() || !Helper.hasValidFingerprint(this))
|
|
|
|
if (Helper.isPlayStoreInstall())
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
if (!Helper.hasValidFingerprint(this) && !(always && BuildConfig.DEBUG))
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
long now = new Date().getTime();
|
|
|
|
long now = new Date().getTime();
|
|
|
@ -1000,7 +1002,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
|
|
|
String name = jasset.getString("name");
|
|
|
|
String name = jasset.getString("name");
|
|
|
|
if (name.endsWith(".apk")) {
|
|
|
|
if (name.endsWith(".apk")) {
|
|
|
|
Log.i("Latest version=" + info.tag_name);
|
|
|
|
Log.i("Latest version=" + info.tag_name);
|
|
|
|
if (BuildConfig.VERSION_NAME.equals(info.tag_name))
|
|
|
|
if (BuildConfig.VERSION_NAME.equals(info.tag_name) && !BuildConfig.DEBUG)
|
|
|
|
return null;
|
|
|
|
return null;
|
|
|
|
else
|
|
|
|
else
|
|
|
|
return info;
|
|
|
|
return info;
|
|
|
|