From 041406d0c56c8adbdf62e6765ada21b197d37b18 Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 26 Jun 2019 20:32:30 +0200 Subject: [PATCH] Small fix --- app/src/main/java/eu/faircode/email/ActivityBilling.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/ActivityBilling.java b/app/src/main/java/eu/faircode/email/ActivityBilling.java index c4260558df..d3fc7047f9 100644 --- a/app/src/main/java/eu/faircode/email/ActivityBilling.java +++ b/app/src/main/java/eu/faircode/email/ActivityBilling.java @@ -207,9 +207,6 @@ abstract class ActivityBilling extends ActivityBase implements PurchasesUpdatedL String text = getBillingResponseText(result); Log.i("IAB connected response=" + text); - if (!getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.RESUMED)) - return; - if (result.getResponseCode() == BillingClient.BillingResponseCode.OK) { backoff = 4; queryPurchases(); @@ -236,9 +233,6 @@ abstract class ActivityBilling extends ActivityBase implements PurchasesUpdatedL String text = getBillingResponseText(result); Log.i("IAB purchases updated response=" + text); - if (!getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.RESUMED)) - return; - if (result.getResponseCode() == BillingClient.BillingResponseCode.OK) checkPurchases(purchases); else