Skip to content
This repository has been archived by the owner on Apr 28, 2022. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
akarimova committed Aug 29, 2014
1 parent 13fe4dc commit 0610f7e
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
import org.onepf.oms.SkuManager;
import org.onepf.oms.appstore.NokiaStore;
import org.onepf.oms.appstore.googleUtils.*;
import org.onepf.oms.util.CollectionUtils;
import org.onepf.oms.util.Logger;

import java.util.ArrayList;
Expand Down Expand Up @@ -527,7 +528,11 @@ private void refreshItemDetails(final List<String> moreItemSkus, final Inventory

final ArrayList<String> combinedStoreSkus = new ArrayList<String>(32);

combinedStoreSkus.addAll(SkuManager.getInstance().getAllStoreSkus(OpenIabHelper.NAME_NOKIA));
List<String> allNokiaStoreSkus = SkuManager.getInstance().getAllStoreSkus(OpenIabHelper.NAME_NOKIA);

if (!CollectionUtils.isEmpty(allNokiaStoreSkus)) {
combinedStoreSkus.addAll(allNokiaStoreSkus);
}

if (moreItemSkus != null) {
for (final String moreItemSku : moreItemSkus) {
Expand Down

0 comments on commit 0610f7e

Please sign in to comment.