Snap for 10885368 from d2a30876bb1f3ff9bad72370ad63ee9389c0cccb to mainline-media-release

Change-Id: I461cfd4f3b9a071363413bef43213cd27ed17c82
diff --git a/icu4c/source/test/intltest/loctest.cpp b/icu4c/source/test/intltest/loctest.cpp
index 2cf9143..ecc1bf0 100644
--- a/icu4c/source/test/intltest/loctest.cpp
+++ b/icu4c/source/test/intltest/loctest.cpp
@@ -927,8 +927,9 @@
       ;
 
     /* TODO: Change this test to be more like the cloctst version? */
-    if (testCount != 595)
-        errln("Expected getISOLanguages() to return 595 languages; it returned %d", testCount);
+    // Allow more than a min number of languages provided in AOSP
+    if (testCount < 595)
+        errln("Expected getISOLanguages() to return at least 595 languages; it returned %d", testCount);
     else {
         for (i = 0; i < 15; i++) {
             int32_t j;