summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Vali Calinescu <vcalinescu@google.com> 2023-02-28 18:19:17 +0000
committer Vali Calinescu <vcalinescu@google.com> 2023-03-01 10:44:28 +0000
commitabc62403870f4d47ac660c784b3b4d3bd31d00d5 (patch)
tree37539f49c6be8e2f266c9dac4eaa514f0c26a257 /libs/androidfw/ApkParsing.cpp
parent45b4cad82c79c7d76f05a6e16e12d829224f44aa (diff)
Change Size Compat mode resizability heuristic to look at top activity
Size Compat mode should be based only on top activity properties to improve debugging and predictability for the developer. The current policy of looking at the root activity was too aggressive and counter intuitive to developers, so we are changing the heuristic for resizability to look at the top activity instead. Now it will be easier to predict through the code analysis in an IDE that an activity will go in SCM since that will depend only on activity properties defined in the manifest and not on the order in which activities are launched. Fix: 227795096 Test: manually with a test app Test: atest WmTests:SizeCompatTests#testShouldCreateCompatDisplayInsetsWhenUnresizeableAndSupportsSizeChangesFalse Change-Id: I5f57936ce65ceb5052d78398f3602eae669ea3cb
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions