pull/157/head
M66B 5 years ago
parent 286a6a9720
commit 041406d0c5

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

Loading…
Cancel
Save