Small fix

This commit is contained in:
M66B
2019-06-26 20:32:30 +02:00
parent 286a6a9720
commit 041406d0c5

View File

@@ -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