summaryrefslogtreecommitdiff
path: root/tools/aapt2/ResourceTable.cpp
diff options
context:
space:
mode:
author Kazuki Takise <takise@google.com> 2025-03-05 11:00:09 +0900
committer Kazuki Takise <takise@google.com> 2025-03-06 10:47:16 +0900
commit417778c637cf43c367a2134fd95eaf070bd167f7 (patch)
tree2342f1f4fb1de6114265d0e7db1d81cbe5238b05 /tools/aapt2/ResourceTable.cpp
parent4d1f7dbabf2d1563630cba88834d0524b41a23ff (diff)
Sandbox more input-related configs instead of fontScale with SCM
Due to a careless mistake, fontScale is unintentionally sandboxed with SCM with I9876fccda2e08a9cc97e4963290c6f05516f90f6, this is not needed as fontScale is global (not per-display). Our intention was to sandbox keyboard instead. (keyboardHidden, hardkeyboardHidden, and navigationHidden could also be updated with this although it's even more rare, so we sandbox them too jsut in case.) Also in the newly added unit test, KEYBOARD_TYPE_ALPHABETIC needs to be set via setKeyboardType(), not via setSources(), which is why the error above wasn't catched. Flag: com.android.window.flags.enable_size_compat_mode_improvements_for_connected_displays Bug: 399749909 Test: SizeCompatTest#testFixedScreenConfigurationWhenMovingToDisplay Change-Id: I6df448c8530a6a357a40597774783351768ab9ec
Diffstat (limited to 'tools/aapt2/ResourceTable.cpp')
0 files changed, 0 insertions, 0 deletions