diff options
author | Ricardo Cervera <rcervera@google.com> | 2014-08-20 15:51:17 -0700 |
---|---|---|
committer | Ricardo Cervera <rcervera@google.com> | 2014-08-20 15:51:17 -0700 |
commit | c58078085a3fb30947d7982536ebe0a06cdf4b62 (patch) | |
tree | a17308a34bfa69e7b559c86624f2282a4a79653e /docs | |
parent | 8319455afca3dc4c8f799d7752dfa44780cf8855 (diff) | |
download | frameworks_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.jd | 2 |
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 |