summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorwilsonshih <wilsonshih@google.com>2019-01-25 09:03:47 +0800
committerwilsonshih <wilsonshih@google.com>2019-02-12 11:02:47 +0800
commit5c4cf52a6b326bb58e904ad7d73c4404012aca07 (patch)
treee329b634286c8d17c5d25361447d6597701ade04 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent29bdd5d13ce98b1a58ddd3d2893e705db3ade7fb (diff)
Verify the pinned stack boundary when adjusting offset.
When user touch home key and moved activity to pinned stack, Nexus launcher also calls setShelfHeight to adjust pinned bounds, and then the PinnedStackController sends the animation bounds to system ui to update it to current bounds. However, if system ui receives this bounds before system server process configuration changes(such as rotation), the bounds sent to system ui will become obsolete. Then system ui will call ActivityTaskManager#resizeStack to overwrite the correct bounds with the obsolete one. In this case, what system ui want to do is adjust the PIP position with an offset, so sending an offset is sufficient instead of sending a new bounds to system server. Fix: 122058651 Test: Manual test the pinned stack can be adjust with show/hide IME and shelf. Test: atest ActivityManagerPinnedStackTests ActivityManagerAppConfigurationTests Change-Id: I5e9271812c00b8e1d45af7a774b99b780102ad23
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions