diff options
| author | lumark <lumark@google.com> | 2019-06-19 16:42:35 +0800 | 
|---|---|---|
| committer | Ming-Shin Lu <lumark@google.com> | 2019-06-21 12:25:40 +0000 | 
| commit | 95f206311775b57f7ea1a21c64b422d53464df52 (patch) | |
| tree | c06001af7d9f7d786be3344a2a6c490024df3e95 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
| parent | b8d89f7a1125fd2af947dfa976caa9c64985ae8d (diff) | |
Set focus app as home when launch activity with split-screen from Recents
When pre-N apps forced into split-screen mode from Recents, sysui will show
an overlay activity (ForcedResizableInfoActivity) to inform user.
Since it happens before set split-screen primary stack as
minimized stack and it will lead the split-screen top app stack as
focus stack, but actually the minimized stack should not be focusable.
Because the focused app stack is in split-screen primary stack, when user
tapping search bar in recents, due to home stask is below the top focused
app stack & it will end up no focus window found and then soft-keyboard
won't appear.
To Fix this no focus window issue, we should set home as focused stack with
moveHomeActivityToTop right after app stack launched in split-screen top &
home stack became in split-screen secondary stack.
Bug: 135282440
Test: manual as below steps:
1. Installed attached api.demos apk via adb install.
2. From all apps launch api.demos app and any other app.
3. Swipe up to goto overview screen.
4. Tap on api demos app icon > Select split screen and dock the app
   in multiwindow mode.
5. With overview apps still displaying in docked screen > Tap on quick
   search bar to type something and observe.
6. Expect the SoftKeyboard should appear.
Change-Id: I522cc0bf6424d415600a5991ea6c5477bdd6e238
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions
