use text to find views on watch

- As with TV form factor, these specific views on Watch don't have an id associated with them and need to be found using text.

- Removed a redundant isWatch if block (redundant because of the above
change)

- Watch UI uses icons in place of text for confirmation dialogs buttons due to the limited real estate. So, this change updates the test to find the button using the positive button id which serves as a confirmation action

- re-enabling testNoResidualPermissionsOnUninstall on Watch. It is passing fine now with the new UI. Note that this tests is still flaky (fails due to a timeout frequently) and thus rightly annotated with "@FlakyTest"

BUG: 199795675
Test: run cts -m CtsPermission3TestCases
Change-Id: I76e4aa4228ec362d082fe5e6e21c10598e1e9f7d
Merged-In: I76e4aa4228ec362d082fe5e6e21c10598e1e9f7d
(cherry picked from commit f5e2347736ac0f048ebbdc9313c34519150d8347)
1 file changed