Add permissions javadoc

Bug: 171512333
Test: none
Change-Id: I6b7159dec4ddc69c944616ea17e99d328f2f2db5
This commit is contained in:
Soonil Nagarkar
2021-01-05 10:19:49 -08:00
parent 3cf4299a7f
commit a51e4d761f

View File

@@ -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