Fix IllegalStateException
This commit is contained in:
parent
09f735eec9
commit
b1624162bf
2 changed files with 3 additions and 3 deletions
|
@ -649,7 +649,7 @@ public abstract class ChoosePlanDialogFragment extends BaseOsmAndDialogFragment
|
|||
public void onGetItems() {
|
||||
OsmandApplication app = getMyApplication();
|
||||
if (app != null && InAppPurchaseHelper.isSubscribedToLiveUpdates(app)) {
|
||||
dismiss();
|
||||
dismissAllowingStateLoss();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -661,7 +661,7 @@ public abstract class ChoosePlanDialogFragment extends BaseOsmAndDialogFragment
|
|||
showDonationSettings();
|
||||
}
|
||||
}
|
||||
dismiss();
|
||||
dismissAllowingStateLoss();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -303,7 +303,7 @@ public class SubscriptionFragment extends BaseOsmAndDialogFragment implements In
|
|||
|
||||
@Override
|
||||
public void onItemPurchased(String sku, boolean active) {
|
||||
dismiss();
|
||||
dismissAllowingStateLoss();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue