Display assertion name for errors in Winscope

Bug: 201523242
Test: upload an error trace and check the errors tab for the assertion
name

Change-Id: Ie76a868cb51fdc41093ec6c0abd364efd1045f61
diff --git a/tools/winscope/src/Searchbar.vue b/tools/winscope/src/Searchbar.vue
index bbfaa0a..c1de4e3 100644
--- a/tools/winscope/src/Searchbar.vue
+++ b/tools/winscope/src/Searchbar.vue
@@ -102,7 +102,7 @@
               class="inline-error"
               @click="setCurrentTimestamp(item.timestamp)"
             >
-              {{item.message}}
+              {{ `${item.assertionName} ${item.message}` }}
             </td>
           </tr>
         </table>
diff --git a/tools/winscope/src/flickerlib/errors/Error.ts b/tools/winscope/src/flickerlib/errors/Error.ts
index 4c08a7d..eb81715 100644
--- a/tools/winscope/src/flickerlib/errors/Error.ts
+++ b/tools/winscope/src/flickerlib/errors/Error.ts
@@ -23,7 +23,8 @@
         proto.message,
         proto.layerId,
         proto.windowToken,
-        proto.taskId
+        proto.taskId,
+        proto.assertionName
     );
     return error;
 }