diff options
author | 2025-03-14 15:38:44 +0900 | |
---|---|---|
committer | 2025-03-14 17:47:39 +0900 | |
commit | 1c157f26c7482e1690b94dbbca0619eb3d12e0f7 (patch) | |
tree | 2d1878492a5a912c2b015a2c802218deb78d5b8d /libs/androidfw/AssetManager2.cpp | |
parent | cac7da8b72e0ce1d2672eb53b8a7b020bee8bf46 (diff) |
Refactor HandleMenuActionButton to remove redundant LinearLayout
HandleMenuActionButton extended LinearLayout, but its constructor
inflated another LinearLayout as a child. This prevented direct
configuration of HandleMenuActionButton's padding in
desktop_mode_window_decor_handle_menu.xml, as the inner LinearLayout has
the default padding now.
This change uses <merge> in
desktop_mode_window_decor_handle_menu_action_button.xml, allowing direct
addition of child elements to HandleMenuActionButton and eliminating the
edundant inner LinearLayout.
Bug: 403072612
Flag: com.android.window.flags.enable_desktop_windowing_mode
Test: Manually check there is no user visible changes
Test: Manually check the talk back support does not regress b/398128081
Change-Id: I55ac41e56c644eb754e5edae18f19ec0296aace2
Diffstat (limited to 'libs/androidfw/AssetManager2.cpp')
0 files changed, 0 insertions, 0 deletions