mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 22:26:06 +02:00
Mark third party installs
This commit is contained in:
@@ -200,7 +200,8 @@ abstract class ActivityBilling extends ActivityBase implements PurchasesUpdatedL
|
||||
if (purchases != null) {
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
|
||||
SharedPreferences.Editor editor = prefs.edit();
|
||||
editor.remove("pro");
|
||||
if (prefs.getBoolean("play_store", true))
|
||||
editor.remove("pro");
|
||||
for (Purchase purchase : purchases) {
|
||||
Log.i(Helper.TAG, "IAB SKU=" + purchase.getSku());
|
||||
if ((BuildConfig.APPLICATION_ID + ".pro").equals(purchase.getSku())) {
|
||||
|
||||
Reference in New Issue
Block a user