disable trial stuff on debug builds

This commit is contained in:
Andrew Dolgov 2014-11-13 11:56:45 +03:00
parent 42eed3019f
commit e483893a24

View File

@ -478,6 +478,8 @@ public class OnlineActivity extends CommonActivity {
} }
public void checkTrial(boolean notify) { public void checkTrial(boolean notify) {
if (!BuildConfig.DEBUG) {
boolean isTrial = getPackageManager().checkSignatures( boolean isTrial = getPackageManager().checkSignatures(
getPackageName(), "org.fox.ttrss.key") != PackageManager.SIGNATURE_MATCH; getPackageName(), "org.fox.ttrss.key") != PackageManager.SIGNATURE_MATCH;
@ -534,6 +536,7 @@ public class OnlineActivity extends CommonActivity {
//toast(R.string.trial_thanks); //toast(R.string.trial_thanks);
} }
} }
}
private void openUnlockUrl() { private void openUnlockUrl() {
try { try {