Simplification

This commit is contained in:
M66B
2019-09-10 09:05:21 +02:00
parent 3369ef9431
commit 541de9e257
7 changed files with 13 additions and 13 deletions

View File

@@ -102,7 +102,7 @@ public class ActivityBilling extends ActivityBase implements PurchasesUpdatedLis
getSupportFragmentManager().addOnBackStackChangedListener(this);
}
if (Helper.isPlayStoreInstall(this)) {
if (Helper.isPlayStoreInstall()) {
Log.i("IAB start");
billingClient = BillingClient.newBuilder(this)
.enablePendingPurchases()
@@ -219,7 +219,7 @@ public class ActivityBilling extends ActivityBase implements PurchasesUpdatedLis
};
private void onPurchase(Intent intent) {
if (Helper.isPlayStoreInstall(this)) {
if (Helper.isPlayStoreInstall()) {
BillingFlowParams.Builder flowParams = BillingFlowParams.newBuilder();
if (skuDetails.containsKey(getSkuPro())) {
Log.i("IAB purchase SKU=" + skuDetails.get(getSkuPro()));