docs: Fixed typo in Wear training class. Bug: 16709202
Change-Id: I4649546f2ebe2dba7266a3260d0aa4388a2a7fe1
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user