Merge "Add StringsRelativeToTop"
diff --git a/android/testing.go b/android/testing.go
index 5813d74..bfea6c5 100644
--- a/android/testing.go
+++ b/android/testing.go
@@ -1051,3 +1051,9 @@
func StringRelativeToTop(config Config, command string) string {
return normalizeStringRelativeToTop(config, command)
}
+
+// StringsRelativeToTop will return a new slice such that each item in the new slice is the result
+// of calling StringRelativeToTop on the corresponding item in the input slice.
+func StringsRelativeToTop(config Config, command []string) []string {
+ return normalizeStringArrayRelativeToTop(config, command)
+}