Skip to content

Commit a585b56

Browse files
reverted IabHelper to original state
1 parent 40f6198 commit a585b56

File tree

1 file changed

+26
-3
lines changed

1 file changed

+26
-3
lines changed

libraries/payme/src/main/java/com/github/jberkel/pay/me/IabHelper.java

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,31 @@
5151

5252
import static android.app.Activity.RESULT_CANCELED;
5353
import static android.app.Activity.RESULT_OK;
54-
import static com.github.jberkel.pay.me.IabConsts.*;
55-
import static com.github.jberkel.pay.me.Response.*;
54+
import static com.github.jberkel.pay.me.IabConsts.API_VERSION;
55+
import static com.github.jberkel.pay.me.IabConsts.GET_SKU_DETAILS_ITEM_LIST;
56+
import static com.github.jberkel.pay.me.IabConsts.INAPP_CONTINUATION_TOKEN;
57+
import static com.github.jberkel.pay.me.IabConsts.RESPONSE_BUY_INTENT;
58+
import static com.github.jberkel.pay.me.IabConsts.RESPONSE_CODE;
59+
import static com.github.jberkel.pay.me.IabConsts.RESPONSE_GET_SKU_DETAILS_LIST;
60+
import static com.github.jberkel.pay.me.IabConsts.RESPONSE_INAPP_ITEM_LIST;
61+
import static com.github.jberkel.pay.me.IabConsts.RESPONSE_INAPP_PURCHASE_DATA;
62+
import static com.github.jberkel.pay.me.IabConsts.RESPONSE_INAPP_PURCHASE_DATA_LIST;
63+
import static com.github.jberkel.pay.me.IabConsts.RESPONSE_INAPP_SIGNATURE;
64+
import static com.github.jberkel.pay.me.IabConsts.RESPONSE_INAPP_SIGNATURE_LIST;
65+
import static com.github.jberkel.pay.me.Response.BILLING_UNAVAILABLE;
66+
import static com.github.jberkel.pay.me.Response.ERROR;
67+
import static com.github.jberkel.pay.me.Response.IABHELPER_BAD_RESPONSE;
68+
import static com.github.jberkel.pay.me.Response.IABHELPER_DISPOSED;
69+
import static com.github.jberkel.pay.me.Response.IABHELPER_INVALID_CONSUMPTION;
70+
import static com.github.jberkel.pay.me.Response.IABHELPER_MISSING_TOKEN;
71+
import static com.github.jberkel.pay.me.Response.IABHELPER_REMOTE_EXCEPTION;
72+
import static com.github.jberkel.pay.me.Response.IABHELPER_SEND_INTENT_FAILED;
73+
import static com.github.jberkel.pay.me.Response.IABHELPER_SUBSCRIPTIONS_NOT_AVAILABLE;
74+
import static com.github.jberkel.pay.me.Response.IABHELPER_UNKNOWN_ERROR;
75+
import static com.github.jberkel.pay.me.Response.IABHELPER_UNKNOWN_PURCHASE_RESPONSE;
76+
import static com.github.jberkel.pay.me.Response.IABHELPER_VERIFICATION_FAILED;
77+
import static com.github.jberkel.pay.me.Response.OK;
78+
import static com.github.jberkel.pay.me.Response.getDescription;
5679
import static com.github.jberkel.pay.me.model.ItemType.INAPP;
5780
import static com.github.jberkel.pay.me.model.ItemType.SUBS;
5881

@@ -89,7 +112,7 @@
89112
* @author Jan Berkel
90113
*/
91114
public class IabHelper {
92-
static final Intent BIND_BILLING_SERVICE = new Intent("com.android.vending.billing.InAppBillingService.BIND");
115+
/* package */ static final Intent BIND_BILLING_SERVICE = new Intent("com.android.vending.billing.InAppBillingService.BIND");
93116

94117
private Context mContext;
95118
private IInAppBillingService mService;

0 commit comments

Comments
 (0)