Make TextViewActivityTest stable

- typeTextIntoFocusedView intaracts with software keyboard
  and sometimes unintended text is input.
- Update testSelectionHandles_bidi test
- longPressOnTextAtIndex instead of doubleClickOnTextAtIndex
  as double click can be recognized as double click (with
  the previous click) + click

Bug: 30922514
Test: FrameworksCoreTests
Change-Id: I78c8f58e9328e64ff5bbfeef22bee1b1225a4485
1 file changed