commit | ca73e9a3d7af224d0aa1669fcb758a0334e63b5a | [log] [tgz] |
---|---|---|
author | Aurimas Liutikas <aurimas@google.com> | Tue Jan 10 12:42:57 2017 -0800 |
committer | Aurimas Liutikas <aurimas@google.com> | Tue Jan 10 12:42:57 2017 -0800 |
tree | 4fa4fd10108ce575dddba55277df72c3ad07c511 | |
parent | f4ab4529b37132028be60744f784c6c1c71d29b6 [diff] |
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