Add Formatter::join

Test: pass
Test: hidl_test
Bug: 32559427
Change-Id: I44e27ba9b2e0fef605c340ba0f70f40ef0e6f390
diff --git a/Annotation.cpp b/Annotation.cpp
index 1205079..a3e49f8 100644
--- a/Annotation.cpp
+++ b/Annotation.cpp
@@ -18,6 +18,7 @@
 
 #include <android-base/logging.h>
 #include <hidl-util/Formatter.h>
+#include <hidl-util/StringHelper.h>
 #include <vector>
 
 namespace android {
@@ -120,16 +121,7 @@
             out << "{";
         }
 
-        bool first = true;
-        for (const auto &value : *values) {
-            if (!first) {
-                out << ", ";
-            }
-
-            out << value;
-
-            first = false;
-        }
+        out << StringHelper::JoinStrings(*values, ", ");
 
         if (values->size() > 1) {
             out << "}";