Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7240b504 authored by Mike Lockwood's avatar Mike Lockwood Committed by Android (Google) Code Review
Browse files

Merge "Unhide LocationManager APIs needed for unbundled location providers."

parents 10d268e3 52eab1c7
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
@@ -75999,6 +75999,19 @@
<parameter name="enabledOnly" type="boolean">
</parameter>
</method>
<method name="installGeocodeProvider"
 return="boolean"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="provider" type="android.location.LocationManager.GeocodeProvider">
</parameter>
</method>
<method name="installLocationProvider"
 return="boolean"
 abstract="false"
@@ -76103,6 +76116,19 @@
<parameter name="intent" type="android.app.PendingIntent">
</parameter>
</method>
<method name="reportLocation"
 return="void"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="location" type="android.location.Location">
</parameter>
</method>
<method name="requestLocationUpdates"
 return="void"
 abstract="false"
+0 −4
Original line number Diff line number Diff line
@@ -1439,8 +1439,6 @@ public class LocationManager {
     * @return true if the command succeeds.
     *
     * Requires the android.permission.INSTALL_LOCATION_PROVIDER permission.
     *
     * {@hide}
     */
    public boolean installGeocodeProvider(GeocodeProvider provider) {
        try {
@@ -1458,8 +1456,6 @@ public class LocationManager {
     * @param location new Location to report
     *
     * Requires the android.permission.INSTALL_LOCATION_PROVIDER permission.
     *
     * {@hide}
     */
    public void reportLocation(Location location) {
        try {