OSDN Git Service

Check state_focus in foreground.
authorJiaquan He <hejq@google.com>
Mon, 1 May 2017 21:17:07 +0000 (14:17 -0700)
committerJiaquan He <hejq@google.com>
Wed, 24 May 2017 23:13:38 +0000 (16:13 -0700)
commit0bdf1c9c76c0832d3adbe85bdc0cde4c1e3102ce
treef53ff0f5eb002d2b0c8329eb4554c958e1e90827
parentb8e5742f5b3e5e05925e32b5aaf1f6d2a20281d3
Check state_focus in foreground.

This commit checks whether the state_focus is specified in the
foreground of a view. If it is, the default focus highlight won't
show up.

Test: cts-tradefed run singleCommand cts --skip-device-info
--skip-preconditions --abi armeabi-v7a -m CtsViewTestCases -t
android.view.cts.View_DefaultFocusHighlightTest#testIsDefaultFocusHighlightNeeded
Bug: 37288730
Change-Id: I5256eb656c1b8729d685edb914e867ee9a3a92a4
api/test-current.txt
core/java/android/view/View.java