disable trial stuff on debug builds
This commit is contained in:
parent
42eed3019f
commit
e483893a24
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user