super.onBindMethods(); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { addMethodProxy(new ReplaceLastPkgMethodProxy("addTestProvider")); addMethodProxy(new ReplaceLastPkgMethodProxy("removeTestProvider")); addMethodProxy(new ReplaceLastPkgMethodProxy("setTestProviderLocation")); addMethodProxy(new ReplaceLastPkgMethodProxy("clearTestProviderLocation")); addMethodProxy(new ReplaceLastPkgMethodProxy("setTestProviderEnabled")); addMethodProxy(new ReplaceLastPkgMethodProxy("clearTestProviderEnabled")); addMethodProxy(new ReplaceLastPkgMethodProxy("setTestProviderStatus")); addMethodProxy(new ReplaceLastPkgMethodProxy("clearTestProviderStatus")); addMethodProxy(new FakeReplaceLastPkgMethodProxy("addGpsMeasurementsListener", true)); addMethodProxy(new FakeReplaceLastPkgMethodProxy("addGpsNavigationMessageListener", true)); addMethodProxy(new FakeReplaceLastPkgMethodProxy("removeGpsMeasurementListener", 0)); addMethodProxy(new FakeReplaceLastPkgMethodProxy("removeGpsNavigationMessageListener", 0)); addMethodProxy(new FakeReplaceLastPkgMethodProxy("requestGeofence", 0)); addMethodProxy(new FakeReplaceLastPkgMethodProxy("removeGeofence", 0)); addMethodProxy(new FakeReplaceLastPkgMethodProxy("addProximityAlert", 0)); addMethodProxy(new FakeReplaceLastPkgMethodProxy("addNmeaListener", 0)); addMethodProxy(new FakeReplaceLastPkgMethodProxy("removeNmeaListener", 0));
super.onBindMethods(); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { addMethodProxy(new ReplaceLastPkgMethodProxy("addTestProvider")); addMethodProxy(new ReplaceLastPkgMethodProxy("removeTestProvider")); addMethodProxy(new ReplaceLastPkgMethodProxy("setTestProviderLocation")); addMethodProxy(new ReplaceLastPkgMethodProxy("clearTestProviderLocation")); addMethodProxy(new ReplaceLastPkgMethodProxy("setTestProviderEnabled")); addMethodProxy(new ReplaceLastPkgMethodProxy("clearTestProviderEnabled")); addMethodProxy(new ReplaceLastPkgMethodProxy("setTestProviderStatus")); addMethodProxy(new ReplaceLastPkgMethodProxy("clearTestProviderStatus")); addMethodProxy(new FakeReplaceLastPkgMethodProxy("addGpsMeasurementsListener", true)); addMethodProxy(new FakeReplaceLastPkgMethodProxy("addGpsNavigationMessageListener", true)); addMethodProxy(new FakeReplaceLastPkgMethodProxy("removeGpsMeasurementListener", 0)); addMethodProxy(new FakeReplaceLastPkgMethodProxy("removeGpsNavigationMessageListener", 0)); addMethodProxy(new FakeReplaceLastPkgMethodProxy("requestGeofence", 0)); addMethodProxy(new FakeReplaceLastPkgMethodProxy("removeGeofence", 0)); addMethodProxy(new FakeReplaceLastPkgMethodProxy("addProximityAlert", 0)); addMethodProxy(new FakeReplaceLastPkgMethodProxy("addNmeaListener", 0)); addMethodProxy(new FakeReplaceLastPkgMethodProxy("removeNmeaListener", 0));
super.onBindMethods(); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { addMethodProxy(new ReplaceLastPkgMethodProxy("addTestProvider")); addMethodProxy(new ReplaceLastPkgMethodProxy("removeTestProvider")); addMethodProxy(new ReplaceLastPkgMethodProxy("setTestProviderLocation")); addMethodProxy(new ReplaceLastPkgMethodProxy("clearTestProviderLocation")); addMethodProxy(new ReplaceLastPkgMethodProxy("setTestProviderEnabled")); addMethodProxy(new ReplaceLastPkgMethodProxy("clearTestProviderEnabled")); addMethodProxy(new ReplaceLastPkgMethodProxy("setTestProviderStatus")); addMethodProxy(new ReplaceLastPkgMethodProxy("clearTestProviderStatus")); addMethodProxy(new FakeReplaceLastPkgMethodProxy("addGpsMeasurementsListener", true)); addMethodProxy(new FakeReplaceLastPkgMethodProxy("addGpsNavigationMessageListener", true)); addMethodProxy(new FakeReplaceLastPkgMethodProxy("removeGpsMeasurementListener", 0)); addMethodProxy(new FakeReplaceLastPkgMethodProxy("removeGpsNavigationMessageListener", 0)); addMethodProxy(new FakeReplaceLastPkgMethodProxy("requestGeofence", 0)); addMethodProxy(new FakeReplaceLastPkgMethodProxy("removeGeofence", 0)); addMethodProxy(new FakeReplaceLastPkgMethodProxy("addProximityAlert", 0)); addMethodProxy(new FakeReplaceLastPkgMethodProxy("addNmeaListener", 0)); addMethodProxy(new FakeReplaceLastPkgMethodProxy("removeNmeaListener", 0));