summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Ats Jenk <atsjenk@google.com> 2024-03-15 16:23:26 -0700
committer Ats Jenk <atsjenk@google.com> 2024-03-18 11:35:52 -0700
commitff763366052783521b5e292892fa65465cc5d4bf (patch)
tree1878eab7c3bcbc3aa4c2f67786eb136a3bec0437 /libs/androidfw/StringPool.cpp
parentb9377b33c1afa98a4b4c3fe6e9ed1d8c44b601d7 (diff)
Add test for getBubbleBarExpandedViewBounds
Adds unit test for getBubbleBarExpandedViewBounds introduced in ag/26520235. Also fixes a bug with positioning the expanded view on the right if device has insets on the left and right. Previously we were using the width of available area when determining left position for the expanded view. But width of the available area includes left and right insets. For positioning we should only be looking at the insets for the side where the bubble expanded view is. Bug: 313661121 Test: atest WMShellMultivalentTestsOnDevice:BubblePositionerTest Test: atest WMShellRobolectricTests:BubblePositionerTest Change-Id: Ib6fa5c427404cbbe36737427e3bfcf432a0d5d6a
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions