Fix flaky LoginActivityTest#testDatasetPickerPosition.

The test compares two images but the two images are not the same.
When EditText gets focused, we will show a cursor, the cursor will
flash continuously. The test will fail if we take the screebshot one
is cursor show but another is cursor hide. We can set transparent
cursor color to prevent the problem.

Bug: 149367309
Test: atest android.autofillservice.cts.AuthenticationTest
Test: atest android.autofillservice.cts.DatasetFilteringTest
Test: atest android.autofillservice.cts.LoginActivityTest
Test: atest android.autofillservice.cts.inline.InlineLoginActivityTest
Test: atest android.autofillservice.cts.inline.InlineAuthenticationTest
Change-Id: I3b412ade19acb57a41028148a0ebe88315f2e0ce
1 file changed