diff options
author | Riddle Hsu <riddlehsu@google.com> | 2019-03-15 20:26:27 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2019-03-18 05:16:52 +0000 |
commit | bed3db4d0b888240a770bb57fa270569041f3994 (patch) | |
tree | 48d4c0ac0f0ce1a97d8b0bf374299f519048f520 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 9bb28c288c06fe05cefb0bbcf3345121dccd5fa0 (diff) |
Only show the toast of dismissing docked stack if it actually happens
When launching a non-resizable activity on secondary display, an overlay
activity will show "App may not work on a secondary display" on it.
Because the overlay activity is resizable, it is nothing to handle on
secondary display. But it falls to the condition of split-screen, and
even there is no docked stack, the toast of dismissing docked stack is
still shown.
Bug: 128674132
Test: atest ActivityStackSupervisorTests# \
testHandleNonResizableTaskOnSecondaryDisplay
Change-Id: I1b8fe892ec4cace4f87112f132e0eefdae19024d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions