commit | 6d7a4737643afe05034a36e6ebcd5da1085fbbdc | [log] [tgz] |
---|---|---|
author | Magnus Hallqvist <magnus.hallqvist@sonymobile.com> | Tue Sep 11 12:46:15 2012 +0200 |
committer | Johan Redestig <johan.redestig@sonymobile.com> | Tue Sep 11 13:25:20 2012 +0200 |
tree | 169a3b3d8d6e205d8d6aa35f8daaa37252478a52 | |
parent | bfe1ab825731d365fef169deab646d7ceeafc998 [diff] |
Sensors could be disabled by any application In the SensorManager API unregisterListener any application could unregister any sensor. This lets any application disable a sensor which another application is using. This fix restricts the applications to only be able to unregister a sensor it has previously registered to. Change-Id: Ief926dd29f480dd97626160810dff87a8d3ac8dc