catch and discard all exceptions that come when initing GCM. Fringe

devices may do anthing at that point.
This commit is contained in:
Eric House 2012-11-15 07:03:32 -08:00
parent 5afd93c5f5
commit f64de16ce3

View file

@ -84,6 +84,9 @@ public class GCMIntentService extends GCMBaseIntentService {
}
} catch ( UnsupportedOperationException uoe ) {
DbgUtils.logf( "Device can't do GCM." );
} catch ( Exception whatever ) {
// funky devices could do anything
DbgUtils.loge( whatever );
}
}
}