diff options
author | Taran Singh <tarandeep@google.com> | 2020-04-09 16:59:10 -0700 |
---|---|---|
committer | Taran Singh <tarandeep@google.com> | 2020-04-17 10:41:30 -0700 |
commit | 9641cfc0fa1dbc4f60a9c73d55567e32cd2b0c4b (patch) | |
tree | 23578a54e92ac88a8d05f501500fbf296782db38 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 26e55eb8ab8a8a476ca63d81e5567c16443c056b (diff) |
Support WIC.show(IME) from Activity#onCreate
In Q, app developer would've to wait for InputConnection on Editor before
showSoftInput() could be called. This made API very un-intuitive. While
WIC.show(ime) took care of some of the scenarios, it didn't handle
showing IME from onCreate() i.e. when control is not yet available.
This CL introduces a pending IME show request that waits until IME
control is available.
Test: atest WindowInsetsControllerTests#testShowImeOnCreate
Bug: 153014086
Change-Id: I93dd5790e1fb3d7841ad1323a45cd3bae2d6e9b8
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions