summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Coco Duan <cocod@google.com> 2025-03-06 07:58:28 +0000
committer Coco Duan <cocod@google.com> 2025-03-06 07:58:28 +0000
commit0788706fe3decac5277c15328df801a517b3fd9c (patch)
tree2ef97a8ea4bb2c9274b794ebbf0c63cdb034dd7b /libs/androidfw/AssetsProvider.cpp
parent7f8bd2fbfa69f2291880dd51f09cbfce093cf4bb (diff)
Center hub UI horizontally in landscape
When mobile devices with display cutout is in landscape, communal container has either left or right margin set from system window insets. For hub to be edge to edge, reset the horizontal margin in onApplyWindowInsets listener. Fixes: b/395706952 Test: on foldable mobile Flag: com.android.systemui.glanceable_hub_v2 Change-Id: Ic6244ef7a9c1a64b1e0536a36513193bf8f6dbff
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions