summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorRicardo Cervera <rcervera@google.com>2014-08-21 17:30:57 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-08-21 17:30:57 +0000
commit9e6b3e7dd85224c836e902551079c2445688d762 (patch)
treeec4633ba6f3d19cc059938ffca781b1662f65289 /docs
parent87978406b405cafc773703b7c849e372339527b8 (diff)
parent63da186fef8add43bcd0c347eec86946b67350c3 (diff)
downloadframeworks_base-9e6b3e7dd85224c836e902551079c2445688d762.zip
frameworks_base-9e6b3e7dd85224c836e902551079c2445688d762.tar.gz
frameworks_base-9e6b3e7dd85224c836e902551079c2445688d762.tar.bz2
am 63da186f: am c5807808: docs: Fixed typo in Wear training class. Bug: 16709202
* commit '63da186fef8add43bcd0c347eec86946b67350c3': 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