/** @see com.splatt.android.common.billing.BillingService.BillingRequest#doExecute() */ @Override protected long doExecute() throws RemoteException { Log.d(TAG, "Checking if billing is supported"); Bundle requestBundle = makeRequestBundle(CHECK_BILLING_SUPPORTED); Bundle responseBundle = service.sendBillingRequest(requestBundle); BillingResponseCode responseCode = BillingResponseCode.valueOf(responseBundle); Log.i(TAG, "CheckBillingSupported response code: " + responseCode); BillingResponseHandler.checkBillingSupportedResponse(responseCode); return BILLING_RESPONSE_INVALID_REQUEST_ID; }
protected void logResponseCode(String request, Bundle response) { BillingResponseCode responseCode = BillingResponseCode.valueOf(response); Log.i(TAG, request + " response code: " + responseCode); }