diff options
author | Takayuki Hoshi <hoshi@google.com> | 2014-10-23 16:46:02 +0900 |
---|---|---|
committer | Takayuki Hoshi <hoshi@google.com> | 2014-10-23 16:46:02 +0900 |
commit | b254ab6addb46aefa59d26d261f846f381f4ece8 (patch) | |
tree | 31e9885fa6949fc935dba463c70015162b03678f /libs/hwui/ProgramCache.cpp | |
parent | 6c9b08478b9f3f69e6f9fa8a5d288ba780a58f3e (diff) |
Fix a bug where LocationManager's addGpsStatusListener does not throw a
SecurityException if LocationManagerService.mGpsStatusProvider is null
even when ACCESS_FINE_LOCATION permission is not present.
Tested under Nexus 5 and Molly with lmp-mr1-dev build with
android.location2.cts.LocationManagerTest#testGpsStatusListener CTS
test case such that it has been modified to expect SecurityException
only from .addGpsStatusListener.
Bug: 18095673
Change-Id: I09f9e7224a3b0eab91001f5092f0ef6e0ada7b08
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions