summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Liran Binyamin <liranb@google.com> 2024-12-04 11:41:00 -0500
committer Liran Binyamin <liranb@google.com> 2024-12-04 13:44:03 -0500
commit1413326462ff1f0d25b33ca19831c6ffa5ed453c (patch)
treed839d21633d62a0c5e5b6d65bda9c64e9676c81f /libs/androidfw/FileStream.cpp
parentc9b66b17286d5c32cd279120c28d6ba7bd8c91e4 (diff)
Set a maximum expanded view width for large screens
We previously set a constant width for the expanded view in large screen devices, but some display configuration may not be able to fit that width. This change checks that the expanded view can fit in the screen, and otherwise sets it to fill the screen with equal padding on both sides. Flag: EXEMPT bugfix Fixes: 382256445 Test: atest BubblePositionerTest Test: manual - adb shell wm size 1340x800 - adb shell wm density 213 - set device orientation to portrait - send floating bubble and expand it - observe expanded view fits in screen Change-Id: Ifbf203cf03fcb1a9f511f8de96a2f37a26d42c6b
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions