Merge "Add permissions javadoc"

This commit is contained in:
TreeHugger Robot
2021-01-05 19:58:59 +00:00
committed by Android (Google) Code Review

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