diff options
author | Evan Rosky <erosky@google.com> | 2017-09-08 14:27:24 -0700 |
---|---|---|
committer | Evan Rosky <erosky@google.com> | 2018-01-12 12:58:42 -0800 |
commit | bdc66cb5a0ef513f4306edf9156cc978b08e06e4 (patch) | |
tree | f42f5e1c06f4d84a3aa27a150b30a7e1c22f2ef5 /rs/java/android/renderscript/ProgramStore.java | |
parent | 8e18b62187d02dd2041af837e74cbaf3d50a33fd (diff) |
Enable new initial-focus behavior for P
This means that, by default, nothing gets initial focus
in touch-mode.
In order to have something focused in touch mode at
activity start, an app must explicitly provide a
<requestFocus /> tag. Since this tag uses the "default"
focus mechanism, it can be placed in a parent and focus
will go to whatever view is the default focusable in
that hierarchy.
This takes effect for targetApi >= P
Bug: 34520588
Test: Added CTS tests in View_InitialFocusTest
Change-Id: I74839bb86079558eaa5c96de52220a7d2c47d901
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions