diff options
| author | 2021-01-05 10:19:49 -0800 | |
|---|---|---|
| committer | 2021-01-05 10:20:27 -0800 | |
| commit | a51e4d761fb007cb3e680bb1d21c1eadbd42f70b (patch) | |
| tree | 9b7092ece569a1ca7169f539d515056089e312e3 /location/java | |
| parent | 3cf4299a7fb8275aa34da1ec20163c4176ecd2ed (diff) | |
Add permissions javadoc
Bug: 171512333
Test: none
Change-Id: I6b7159dec4ddc69c944616ea17e99d328f2f2db5
Diffstat (limited to 'location/java')
| -rw-r--r-- | location/java/android/location/LocationManager.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/location/java/android/location/LocationManager.java b/location/java/android/location/LocationManager.java index ecdba1fe5b12..602686244388 100644 --- a/location/java/android/location/LocationManager.java +++ b/location/java/android/location/LocationManager.java @@ -2601,6 +2601,9 @@ public class LocationManager { * Returns the batch size (in number of Location objects) that are supported by the batching * interface. * + * Prior to Android S this call requires the {@link Manifest.permission#LOCATION_HARDWARE} + * permission. + * * @return Maximum number of location objects that can be returned * @deprecated Do not use * @hide |