Multi user is a pro feature

This commit is contained in:
M66B 2016-01-11 12:51:19 +01:00
parent 759a9572ea
commit c7219afedd
1 changed files with 4 additions and 0 deletions

View File

@ -271,6 +271,10 @@ public class ActivityMain extends AppCompatActivity implements SharedPreferences
}
if (!IAB.isPurchased(ActivityPro.SKU_SPEED, ActivityMain.this))
prefs.edit().putBoolean("show_stats", false).apply();
if (!IAB.isPurchased(ActivityPro.SKU_MULTI, ActivityMain.this)) {
if (android.os.Process.myUid() / 100000 != 0)
prefs.edit().putBoolean("enabled", false).apply();
}
iab.unbind();
} catch (Throwable ex) {