This commit is contained in:
mar-v-in 2015-10-09 20:51:17 +02:00
parent e3b91f2635
commit 140716c931
2 changed files with 6 additions and 2 deletions

2
extern/GmsApi vendored

@ -1 +1 @@
Subproject commit 594fb004b7ceac5cf5d9f69bdc0809f3ca106fd7
Subproject commit 90426cf2e1bfe199267377e826c1d2f060866bc6

View File

@ -35,7 +35,11 @@ public abstract class BaseService extends Service {
broker = new AbstractGmsServiceBroker(supportedServiceId, supportedServiceIds) {
@Override
public void handleServiceRequest(IGmsCallbacks callback, GetServiceRequest request) throws RemoteException {
request.extras.keySet(); // call to unparcel()
try {
request.extras.keySet(); // call to unparcel()
} catch (Exception e) {
// Sometimes we need to define the correct ClassLoader before unparcel(). Ignore those.
}
Log.d(TAG, "bound by: " + request);
BaseService.this.handleServiceRequest(callback, request);
}