Merge "Make a utility function public." am: a2d81a0e97 am: 5829303877

Original change: https://android-review.googlesource.com/c/platform/frameworks/libs/net/+/1664087

Change-Id: Id5e55e8c26151ea0f4de48079c101917771aba3d
diff --git a/staticlibs/framework/com/android/net/module/util/CollectionUtils.java b/staticlibs/framework/com/android/net/module/util/CollectionUtils.java
index f2afc75..4fce8f5 100644
--- a/staticlibs/framework/com/android/net/module/util/CollectionUtils.java
+++ b/staticlibs/framework/com/android/net/module/util/CollectionUtils.java
@@ -156,7 +156,7 @@
      * @param test the predicate to test for.
      * @return a new collection containing only the source elements that satisfy the predicate.
      */
-    @NonNull private static <T> ArrayList<T> filter(@NonNull final Collection<T> source,
+    @NonNull public static <T> ArrayList<T> filter(@NonNull final Collection<T> source,
             @NonNull final Predicate<T> test) {
         final ArrayList<T> matches = new ArrayList<>();
         for (final T e : source) {