d86b8fea43ebb6e5c31691b44d8ceb0d8d3c9072 |
|
03-Jun-2017 |
Jeff Sharkey <jsharkey@android.com> |
Annotate @SystemApi with required permissions. Most @SystemApi methods should be protected with system (or higher) permissions, so annotate common methods with @RequiresPermission to make automatic verification easier. Verification is really only relevant when calling into system services (where permissions checking can happen on the other side of a Binder call), so annotate managers with the new @SystemService annotation, which is now automatically documented. This is purely a docs change; no logic changes are being made. Test: make -j32 update-api && make -j32 offline-sdk-docs Bug: 62263906 Change-Id: I2554227202d84465676aa4ab0dd336b5c45fc651
/frameworks/base/location/java/android/location/CountryDetector.java
|
a4db6473f7890326330f951ec11bae9adb661221 |
|
22-May-2015 |
Makoto Onuki <omakoto@google.com> |
CountryDetector no longer requires location permissions. Country information is already available elsewhere (MNC/MCC), so there's no point enforcing these permissions. It wasn't properly enforcing the permissions anyway, since the code path in question was sometimes executed on a handler thread. Bug 20927020 Change-Id: Ia090664917f7b694e80dd55934db442633bab1d8
/frameworks/base/location/java/android/location/CountryDetector.java
|
a58a8751b4c2ce457f0082a0baaee61312d56195 |
|
13-Jul-2010 |
Bai Tao <michaelbai@google.com> |
Add new system service CountryDetector a. The CountryDetector detects the country the user is in in order of mobile network, location, sim card or locale. It will be used by contact and contact provider. b. All added APIs are hidden at this stage. Change-Id: I4ba278571ffb6ab6ded0996d4f440a18534f8ed4
/frameworks/base/location/java/android/location/CountryDetector.java
|