Fix FragmentOptimizationTest#focusedView on API17.

API17 requires to create EditText on UI thread and throws an assertion
otherwise. This change changes FragmentOptimizationTest#focusedView to
create EditText on UI thread.

Test: FragmentOptimizationTest now passes on API 17.
Change-Id: I21c0b899250425663cad35fefe701c2e091dce4a
1 file changed