Prevent crash

pull/210/head
M66B 2 years ago
parent 303b381967
commit 466a04f764

@ -367,6 +367,8 @@ public class ActivityBilling extends ActivityBase implements
@Override @Override
public void delegate() { public void delegate() {
try { try {
if (!getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED))
return;
boolean ready = billingClient.isReady(); boolean ready = billingClient.isReady();
Log.i("IAB ready=" + ready); Log.i("IAB ready=" + ready);
if (!ready) if (!ready)

Loading…
Cancel
Save