Amazon: Initialize listProductsCommandPtrs

This commit is contained in:
Mike 2020-10-17 11:42:47 -05:00 committed by GitHub
parent 906a4679e4
commit faf62f2314
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,6 +45,7 @@ public class IapAmazon implements PurchasingListener {
this.activity = activity; this.activity = activity;
this.autoFinishTransactions = autoFinishTransactions; this.autoFinishTransactions = autoFinishTransactions;
this.listProductsListeners = new HashMap<RequestId, IListProductsListener>(); this.listProductsListeners = new HashMap<RequestId, IListProductsListener>();
this.listProductsCommandPtrs = new HashMap<RequestId, Long>();
this.purchaseListeners = new HashMap<RequestId, IPurchaseListener>(); this.purchaseListeners = new HashMap<RequestId, IPurchaseListener>();
PurchasingService.registerListener(activity, this); PurchasingService.registerListener(activity, this);
} }