Limit devices for Play store builds only

This commit is contained in:
M66B 2019-08-12 15:19:42 +02:00
parent 68acb278a3
commit aef181b869
1 changed files with 2 additions and 1 deletions

View File

@ -180,7 +180,8 @@ public class ActivityMain extends ActivityBase implements FragmentManager.OnBack
} }
private boolean isSupportedDevice() { private boolean isSupportedDevice() {
if ("Amazon".equals(Build.BRAND) && Build.VERSION.SDK_INT < Build.VERSION_CODES.M) { if (Helper.isPlayStoreInstall(this) &&
"Amazon".equals(Build.BRAND) && Build.VERSION.SDK_INT < Build.VERSION_CODES.M) {
/* /*
java.lang.IllegalArgumentException: Comparison method violates its general contract! java.lang.IllegalArgumentException: Comparison method violates its general contract!
java.lang.IllegalArgumentException: Comparison method violates its general contract! java.lang.IllegalArgumentException: Comparison method violates its general contract!