summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorRicardo Cervera <rcervera@google.com>2014-08-21 17:44:27 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-08-21 17:44:27 +0000
commit005d4ecaaf195d709fd3e0764020a882e9013bb5 (patch)
tree47e93f6f5a4f6d32ef30ba916e698244edca2e34 /docs
parenta0b805715a12391b6b06c0be8a85db51d6785343 (diff)
parent9e6b3e7dd85224c836e902551079c2445688d762 (diff)
downloadframeworks_base-005d4ecaaf195d709fd3e0764020a882e9013bb5.zip
frameworks_base-005d4ecaaf195d709fd3e0764020a882e9013bb5.tar.gz
frameworks_base-005d4ecaaf195d709fd3e0764020a882e9013bb5.tar.bz2
am 9e6b3e7d: am 63da186f: am c5807808: docs: Fixed typo in Wear training class. Bug: 16709202
* commit '9e6b3e7dd85224c836e902551079c2445688d762': docs: Fixed typo in Wear training class. Bug: 16709202
Diffstat (limited to 'docs')
-rw-r--r--docs/html/training/wearables/data-layer/assets.jd2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/html/training/wearables/data-layer/assets.jd b/docs/html/training/wearables/data-layer/assets.jd
index 52ccbb0..5dc11cb 100644
--- a/docs/html/training/wearables/data-layer/assets.jd
+++ b/docs/html/training/wearables/data-layer/assets.jd
@@ -91,7 +91,7 @@ public void onDataChanged(DataEventBuffer dataEvents) {
for (DataEvent event : dataEvents) {
if (event.getType() == DataEvent.TYPE_CHANGED &&
event.getDataItem().getUri().getPath().equals("/image")) {
- DataMapItem dataMapItem = DataMapItem.fromDataItem(dataItem);
+ DataMapItem dataMapItem = DataMapItem.fromDataItem(event.getDataItem());
Asset profileAsset = dataMapItem.getDataMap().getAsset("profileImage");
Bitmap bitmap = loadBitmapFromAsset(profileAsset);
// Do something with the bitmap