DO NOT MERGE - Changed WebViewActivityTest to set the service before the activity is launched.

The latest WebView implementation calls AutofillManager.isEnabled() to
disable autofill for optimization when it returns false, and unfortunately the
value returned by that method does not change when the service is enabled /
disabled, so we need to start enable the service before launching the activity.

Bug: 111838239
Fixes: 111880684
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases \
      -t android.autofillservice.cts.WebViewActivityTest

Merged-In: I255d3749d7911556a8c0d863d043778ed79c2e35
Change-Id: I255d3749d7911556a8c0d863d043778ed79c2e35
(cherry picked from commit b9c1dc1ed1bbdd34b9c130aa7ad13daa0f2b7849)
3 files changed