mirror of https://github.com/M66B/FairEmail.git
Prevent crash
This commit is contained in:
parent
303b381967
commit
466a04f764
|
@ -367,6 +367,8 @@ public class ActivityBilling extends ActivityBase implements
|
|||
@Override
|
||||
public void delegate() {
|
||||
try {
|
||||
if (!getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED))
|
||||
return;
|
||||
boolean ready = billingClient.isReady();
|
||||
Log.i("IAB ready=" + ready);
|
||||
if (!ready)
|
||||
|
|
Loading…
Reference in New Issue