InternalSensors::~InternalSensors() { // Unsubscribe from sensors and the GPS. cancelAllSensorSubscriptions(); JNIEnv *env = Java::GetEnv(); env->CallVoidMethod(obj_InternalGPS_.Get(), mid_gps_setLocationProvider_, NULL); }
InternalSensors::~InternalSensors() { // Unsubscribe from sensors and the GPS. cancelAllSensorSubscriptions(); JNIEnv *env = Java::GetEnv(); env->CallVoidMethod(obj_InternalGPS_.Get(), close_method); }