Disable text length assert in LoginActivityTest#testNewTextAttributes.

Security fix a0c6539 limits the text length 5000. We cannot change
assert condition to 5000 because it will break 1st R release. Disable
text length assert in this test case.

Bug: 166206311
Test: atest android.autofillservice.cts.LoginActivityTest#\
testNewTextAttributes

Merged-In: Ic4ea0206887633d4b6657e18c72d3495ce3685b7
Change-Id: I0b7b53535a7c88c43b64af191ce30f6bfba8f059
diff --git a/tests/autofillservice/src/android/autofillservice/cts/LoginActivityTest.java b/tests/autofillservice/src/android/autofillservice/cts/LoginActivityTest.java
index 9e7c599..d95c83a 100644
--- a/tests/autofillservice/src/android/autofillservice/cts/LoginActivityTest.java
+++ b/tests/autofillservice/src/android/autofillservice/cts/LoginActivityTest.java
@@ -2727,7 +2727,9 @@
         final ViewNode password = findNodeByResourceId(request.structure, ID_PASSWORD);
         assertThat(password.getMinTextEms()).isEqualTo(-1);
         assertThat(password.getMaxTextEms()).isEqualTo(-1);
-        assertThat(password.getMaxTextLength()).isEqualTo(-1);
+        // Security fix a0c6539 limits the text length 5000. Disable assert text length to avoid
+        // break the public release.
+        //assertThat(password.getMaxTextLength()).isEqualTo(-1);
     }
 
     @Test