diff options
author | Hongwei Wang <hwwang@google.com> | 2020-05-06 15:49:44 -0700 |
---|---|---|
committer | Hongwei Wang <hwwang@google.com> | 2020-05-11 18:03:55 -0700 |
commit | f7e5a2310651a20603fd0e57f87890b893b26ba9 (patch) | |
tree | e693cfaf209b541990af9bd5dd9535baf5373e33 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 3ce5a9b85b7e5435fa586ec7b82bd3f01b8e81d0 (diff) |
Set mIsInMultiWindowMode in activity creation
When an Activity is launched directly into split-screen mode, there
won't be any onMultiWindowModeChanged callback. Upon activity creation,
the current windowing mode should be part of the configuration, use
the windowing mode from that as initial values for both
isInPictureInPictureMode and isInMultiWindowMode.
Bug: 155811896
Bug: 156204380
Test: launch activity to split-screen secondary and verify
isInMultiWindowMode in dumpsys
Change-Id: I6061a2d5687b68a981abcf8b184bfb007cdcf501
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions