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() {
|
public void onGetItems() {
|
||||||
OsmandApplication app = getMyApplication();
|
OsmandApplication app = getMyApplication();
|
||||||
if (app != null && InAppPurchaseHelper.isSubscribedToLiveUpdates(app)) {
|
if (app != null && InAppPurchaseHelper.isSubscribedToLiveUpdates(app)) {
|
||||||
dismiss();
|
dismissAllowingStateLoss();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -661,7 +661,7 @@ public abstract class ChoosePlanDialogFragment extends BaseOsmAndDialogFragment
|
||||||
showDonationSettings();
|
showDonationSettings();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dismiss();
|
dismissAllowingStateLoss();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -303,7 +303,7 @@ public class SubscriptionFragment extends BaseOsmAndDialogFragment implements In
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onItemPurchased(String sku, boolean active) {
|
public void onItemPurchased(String sku, boolean active) {
|
||||||
dismiss();
|
dismissAllowingStateLoss();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue