Test for stop cursor from blinking when not visible

These tests use a mocked/copied version of the logic used to determine
if a cursor should be blinking.  Test coverage includes new activity
launched with editor without focus, new activity launched with editor
with focus and new activity launched with editor with focus activity
moved to background then resumed.

Bug: 228354442
Test: This is the test for the framworks/base change.
Change-Id: Iaa0b7392b4d8df2f10141faa0c5843ee4598014a
Merged-In: Iaa0b7392b4d8df2f10141faa0c5843ee4598014a
3 files changed