File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
AndroidBillingLibrary/src/net/robotmedia/billing Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -235,7 +235,14 @@ protected void processOkResponse(Bundle response) {
235
235
public long run (IMarketBillingService mService ) throws RemoteException {
236
236
final Bundle request = makeRequestBundle ();
237
237
addParams (request );
238
- final Bundle response = mService .sendBillingRequest (request );
238
+ final Bundle response ;
239
+ try {
240
+ response = mService .sendBillingRequest (request );
241
+ } catch (NullPointerException e ) {
242
+ Log .e (this .getClass ().getSimpleName (), "Known IAB bug. See: http://code.google.com/p/marketbilling/issues/detail?id=25" , e );
243
+ return IGNORE_REQUEST_ID ;
244
+ }
245
+
239
246
if (validateResponse (response )) {
240
247
processOkResponse (response );
241
248
return response .getLong (KEY_REQUEST_ID , IGNORE_REQUEST_ID );
You can’t perform that action at this time.
0 commit comments