summaryrefslogtreecommitdiff
path: root/tools/aapt2/format/binary/BinaryResourceParser.cpp
diff options
context:
space:
mode:
authorGarfield Tan <xutan@google.com>2018-10-15 11:33:02 -0700
committerGarfield Tan <xutan@google.com>2018-10-15 15:21:31 -0700
commit706dbcbb6d406b38936cc3127c0c4074e5d368d0 (patch)
tree37ee86f7581287eefe40a21bb07003e75539f81e /tools/aapt2/format/binary/BinaryResourceParser.cpp
parent03fc4a7f68142013aa1dfa80dfe6abc93622af42 (diff)
Pass in window layout when setting initial state.
The bounds returned here may affect result later, but we didn't pass in all information we have at this moment. Also stop inferring freeform windowing mode if activity is resizeable and specified layout bounds or activity option bounds, because these activities may be launched in freeform mode accidentally on primary displays. Bug: 113252871 Test: Apps with layout can be launched correct on external displays, e.g. Calculator. It still launches in fullscreen on primary display. atest FrameworksServicesTests:TaskLaunchParamsModifierTests atest FrameworksServicesTests:ActivityStarterTests go/wm-smoke. Change-Id: If19122c1c0d010df5d69a14a867c7bb2f37bd461
Diffstat (limited to 'tools/aapt2/format/binary/BinaryResourceParser.cpp')
0 files changed, 0 insertions, 0 deletions