Fix expected output of testIndexOf with start == Integer.MAX_VALUE.

This fixes bug http://b/6299423

Change-Id: Ic81e7b8d17be760e50641e686c19fe2c0a07d54c
diff --git a/tests/tests/text/src/android/text/cts/TextUtilsTest.java b/tests/tests/text/src/android/text/cts/TextUtilsTest.java
index 8611a5f..5ae1ef5 100755
--- a/tests/tests/text/src/android/text/cts/TextUtilsTest.java
+++ b/tests/tests/text/src/android/text/cts/TextUtilsTest.java
@@ -1138,7 +1138,7 @@
         assertEquals(INDEX_OF_SECOND_R, TextUtils.indexOf(searchString, 'r', INDEX_OF_FIRST_R + 1));
         assertEquals(-1, TextUtils.indexOf(searchString, 'r', searchString.length()));
         assertEquals(INDEX_OF_FIRST_R, TextUtils.indexOf(searchString, 'r', Integer.MIN_VALUE));
-        assertEquals(2, TextUtils.indexOf(searchString, 'r', Integer.MAX_VALUE));
+        assertEquals(-1, TextUtils.indexOf(searchString, 'r', Integer.MAX_VALUE));
 
         StringBuffer stringBuffer = new StringBuffer(searchString);
         assertEquals(INDEX_OF_SECOND_R, TextUtils.indexOf(stringBuffer, 'r', INDEX_OF_FIRST_R + 1));
@@ -1242,7 +1242,7 @@
         assertEquals(-1, TextUtils.indexOf(searchString, "string", INDEX_OF_SECOND_STRING + 1));
         assertEquals(INDEX_OF_FIRST_STRING, TextUtils.indexOf(searchString, "string",
                 Integer.MIN_VALUE));
-        assertEquals(0, TextUtils.indexOf(searchString, "string", Integer.MAX_VALUE));
+        assertEquals(-1, TextUtils.indexOf(searchString, "string", Integer.MAX_VALUE));
 
         assertEquals(1, TextUtils.indexOf(searchString, "", 1));
         assertEquals(Integer.MAX_VALUE, TextUtils.indexOf(searchString, "", Integer.MAX_VALUE));
@@ -1288,7 +1288,7 @@
                 INDEX_OF_SECOND_STRING - 1));
         assertEquals(INDEX_OF_FIRST_STRING, TextUtils.indexOf(searchString, "string",
                 Integer.MIN_VALUE, INDEX_OF_SECOND_STRING - 1));
-        assertEquals(0, TextUtils.indexOf(searchString, "string", Integer.MAX_VALUE,
+        assertEquals(-1, TextUtils.indexOf(searchString, "string", Integer.MAX_VALUE,
                 INDEX_OF_SECOND_STRING - 1));
 
         assertEquals(INDEX_OF_SECOND_STRING, TextUtils.indexOf(searchString, "string",