Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c5807808 authored by Ricardo Cervera's avatar Ricardo Cervera
Browse files

docs: Fixed typo in Wear training class. Bug: 16709202

Change-Id: I4649546f2ebe2dba7266a3260d0aa4388a2a7fe1
parent 8319455a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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