commit | b7f9d254978b285bf04613f6e69a1afa89240ca9 | [log] [tgz] |
---|---|---|
author | Laurent Tu <laurentt@google.com> | Tue Oct 16 14:25:00 2012 -0700 |
committer | Laurent Tu <laurentt@google.com> | Tue Oct 16 14:25:00 2012 -0700 |
tree | 66faac3396e020c8502206cc1cd2ca226f354b12 | |
parent | 4682cf02b42f75876f14f512e874c3e798b09c9c [diff] |
Handle unknown case in LocationManager.getProvider If a provider is unknown, return null in LocationManagerService.getProviderProperties() instead of throwing a security exception, so that LocationManager.getProvider() returns null in this case, as specified by the javadoc. Bug: 7359960 Change-Id: I1b8b74745f66717a3439a1d353a46a23272cc313