android: BillingManager: Fix issue with onQuerySkuDetailsFinished null param.
- Happens when not associated with a Google account.
This commit is contained in:
parent
1696adb2d0
commit
d71c600837
@ -88,6 +88,10 @@ public class BillingManager implements PurchasesUpdatedListener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void onQuerySkuDetailsFinished(List<SkuDetails> skuDetailsList) {
|
private void onQuerySkuDetailsFinished(List<SkuDetails> skuDetailsList) {
|
||||||
|
if (skuDetailsList == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (skuDetailsList.isEmpty()) {
|
if (skuDetailsList.isEmpty()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user