Skip to content

Commit 6ec5a25

Browse files
qchongAndroid Git Automerger
authored andcommitted
am 4be6fde: am ba2199f: Merge "docs: Modified the notice in the android.location package file to strongly encourage developers to migrate to the Google Play Services Location API." into klp-modular-docs
* commit '4be6fdebdd386dc18159c5557db91936a62f42ab': docs: Modified the notice in the android.location package file to strongly encourage developers to migrate to the Google Play Services Location API.
2 parents c2b35ef + 4be6fde commit 6ec5a25

1 file changed

Lines changed: 14 additions & 16 deletions

File tree

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
11
<html>
22
<body>
33

4-
<p>Contains the framework API classes that define Android location-based and related services.</p>
5-
<p class="note">
6-
<strong>Note:</strong> The Google Location Services API, part of Google Play
7-
Services, provides a more powerful, high-level framework that automates tasks such as
8-
location provider choice and power management. Location Services also provides new
9-
features such as activity detection that aren't available in the framework API. Developers who
10-
are using the framework API, as well as developers who are just now adding location-awareness
11-
to their apps, should strongly consider using the Location Services API.
12-
<br/>
13-
To learn more about the Location Services API, see
14-
<a href="{@docRoot}google/play-services/location.html">Location APIs</a>.
4+
<p>Contains the framework API classes that define Android location-based and
5+
related services.</p>
6+
<p class="warning">
7+
<strong>This API is not the recommended method for accessing Android location.</strong><br>
8+
The
9+
<a href="{@docRoot}reference/com/google/android/gms/location/package-summary.html">Google Location Services API</a>,
10+
part of Google Play services, is the preferred way to add location-awareness to
11+
your app. It offers a simpler API, higher accuracy, low-power geofencing, and
12+
more. If you are currently using the android.location API, you are strongly
13+
encouraged to switch to the Google Location Services API as soon as
14+
possible.
15+
<br><br>
16+
To learn more about the Google Location Services API, see the
17+
<a href="{@docRoot}google/play-services/location.html">Location API overview</a>.
1518
</p>
16-
17-
<p>For more information about the framework API, see the
18-
<a href="{@docRoot}guide/topics/location/index.html">Location and Maps</a> guide.</p>
19-
{@more}
20-
2119
</body>
2220
</html>

0 commit comments

Comments
 (0)