Refactoring

This commit is contained in:
M66B 2016-01-11 18:33:31 +01:00
parent c7219afedd
commit 61eb1652e5
1 changed files with 6 additions and 6 deletions

View File

@ -122,8 +122,8 @@ public class ActivityMain extends AppCompatActivity implements SharedPreferences
if (isChecked) {
// Check if secondary user
if (android.os.Process.myUid() / 100000 != 0 &&
!IAB.isPurchased(ActivityPro.SKU_MULTI, ActivityMain.this)) {
if (!IAB.isPurchased(ActivityPro.SKU_MULTI, ActivityMain.this))
if (android.os.Process.myUid() / 100000 != 0) {
prefs.edit().putBoolean("enabled", false).apply();
startActivity(new Intent(ActivityMain.this, ActivityPro.class));
return;