summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuddus Chong <quddusc@google.com>2014-12-10 03:22:54 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-12-10 03:22:54 +0000
commitc24c579770d9663174204e4e9413060bcb8e4a58 (patch)
tree2f00eed6baeb6c3aa9d541839b258312368ce1aa
parent6d4818529e435b2e6d285233bd0668e3ba25f6c9 (diff)
parent09e72628fc9e58659c18b1bbbb1a0ec8a5878221 (diff)
downloadframeworks_base-c24c579770d9663174204e4e9413060bcb8e4a58.zip
frameworks_base-c24c579770d9663174204e4e9413060bcb8e4a58.tar.gz
frameworks_base-c24c579770d9663174204e4e9413060bcb8e4a58.tar.bz2
am 09e72628: Merge "docs: Updated GMS highlights for v6.5 (Nacho) to reflect removal of LocationClient, PlusClient, and ActivityRecognitionClient." into lmp-docs
* commit '09e72628fc9e58659c18b1bbbb1a0ec8a5878221': docs: Updated GMS highlights for v6.5 (Nacho) to reflect removal of LocationClient, PlusClient, and ActivityRecognitionClient.
-rw-r--r--docs/html/google/play-services/index.jd16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/html/google/play-services/index.jd b/docs/html/google/play-services/index.jd
index 8578f96..b3cd4cf 100644
--- a/docs/html/google/play-services/index.jd
+++ b/docs/html/google/play-services/index.jd
@@ -134,6 +134,22 @@ enables you to get a ready-to-use Street View panorama.
when compiling your app. For more details, see the Android Studio setup
instructions in
<a href="{@docRoot}google/play-services/setup.html">Setting Up Google Play Services</a>.
+ </li>
+ <li><strong>Deprecated clients</strong> - The {@code ActivityRecognitionClient},
+ {@code LocationClient}, and {@code PlusClient} classes are deprecated. If
+ you used those APIs in your app and want to call Google Play services 6.5
+ or higher APIs, you must switch to the new programming model that utilizes
+ <a href="{@docRoot}reference/com/google/android/gms/common/api/GoogleApiClient.html">{@code GoogleApiClient}</a>. For more information about using <a href="{@docRoot}reference/com/google/android/gms/common/api/GoogleApiClient.html">{@code GoogleApiClient}</a>, see <a href="{@docRoot}google/auth/api-client.html">Accessing Google APIs</a>.
+ <p>Use these APIs instead of the deprecated APIs:</p>
+ <ul>
+ <li>If you were previously using {@code ActivityRecognitionClient}, call
+ <a href="{@docRoot}reference/com/google/android/gms/location/ActivityRecognition.html">{@code ActivityRecognition}</a> instead.</li>
+ <li>If you were previously using {@code LocationClient}, call the APIs in the
+ <a href="{@docRoot}reference/com/google/android/gms/location/package-summary.html">{@code com.google.android.gms.location} package</a> instead.</li>
+ <li>If you were previously using {@code PlusClient}, call the APIs in the
+ <a href="{@docRoot}reference/com/google/android/gms/plus/package-summary.html">{@code com.google.android.gms.plus} package</a> instead.</li>
+ </ul>
+ </li>
</ul>
</dd>
</dl>