nlathia/SensorManager — pull request #7 by sibeliusseraphini (2014-06-12 07:04:56+00:00)
Title: Solve the Leaked IntentReceiver for the bluetooth sensor

When you don't start sensing the bluetooth sensor, it is created, registering the broadcast receiver, but it is not unregistered causing a Leaked IntentReceiver.

The registerReceiver was moved to the startSensing because we don't need to receive broadcast if we are not sensing the bluetooth, and the unregister it is at stopSensing.