summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorRicardo Cervera <rcervera@google.com>2014-08-20 15:51:17 -0700
committerRicardo Cervera <rcervera@google.com>2014-08-20 15:51:17 -0700
commitc58078085a3fb30947d7982536ebe0a06cdf4b62 (patch)
treea17308a34bfa69e7b559c86624f2282a4a79653e /docs
parent8319455afca3dc4c8f799d7752dfa44780cf8855 (diff)
downloadframeworks_base-c58078085a3fb30947d7982536ebe0a06cdf4b62.zip
frameworks_base-c58078085a3fb30947d7982536ebe0a06cdf4b62.tar.gz
frameworks_base-c58078085a3fb30947d7982536ebe0a06cdf4b62.tar.bz2
docs: Fixed typo in Wear training class. Bug: 16709202
Change-Id: I4649546f2ebe2dba7266a3260d0aa4388a2a7fe1
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