This is necessary to define all four values, otherwise, the different
source rotation may cause different behavior on the same target rotation
if the target rotation doesn't have a defined side override.
Bug: 302387383
Test: rotate from 270 to 0 and see no black bar underneath status bar.
Change-Id: I629a9cca6b239f8095775c73448a7176089dbd10
-A noop change by itself, but allows Google to later overlay
a different GPS engine within GmsCore.
Bug: 306045408
Change-Id: I30b185492aeb2998e58af0164a093f13a81779bb
Test: Manual
Keep default 60dp taskbar height as there is no significant impact on
app experience with slight reduction in height.
Bug: 318395803
Test: m
Change-Id: I41293565778a8f56fe9e4d4631aeb8bd5e1a1773
Set the side preference cutout config field to let the cutout always be
on the same side as the system bars.
Bug: 302387383
Test: build and rotate the device
Change-Id: I3413164e97bdb89b23d96b2ff279af9aef75b9b3
To support wake gestures on the inner display.
Also remove the lockIconLongpress config since it should
not be configured for this device.
Flag: NONE
Test: manual
Fixes: 309605698
Change-Id: I9554b3c312a2e8d417280c61b227aa716d83bc22
The specs say that the status bar and nav bar should be 56dp tall when
they contain the cutout. For the status bar this is when the cutout is
at the top (rotation 0 and rotation 90). For the nav bar this is when
the cutout is at the bottom (rotation 180 and rotation 270).
The status bar and nav bar have logic to make their height to be at
least as tall as the cutout rect approximation.
Fixes: 309773362
Bug: 299908906
Test: Manual
Change-Id: I1c01280558b145280449a8c199f680c1e4304ee6
Revert submission 25284659-COMET_DISPLAY_DENSITY
Reason for revert: change density back to 390 as discussed
Reverted changes: /q/submissionid:25284659-COMET_DISPLAY_DENSITY
Change-Id: I59c1c2dcda8bf9c25fb4cb41b61e23a6930b202c
The height specs of the status bar are 56dp when the camera is at the
top and 36dp when the camera is at the bottom.
To achieve this, we set the status bar height config to 36dp, which will
be used when the camera is at the bottom.
Then to achieve 56dp when the camera is at the top, we use the cutout
rect approximation, and make it 56dp in height. The height of the
status bar is adjusted to be at least as tall as the cutout rect.
+ Tweak the cutout rect, to make it be in the corner and intersect with
the top and right of the screen, which is needed for status bar inset
calculations. Before, it had a vertical offset, and was offscreen to
the right.
Now it is a rect that starts from the top right of the screen and goes
to 56dp in height and until the end of the camera in width.
Test: Manual
Fixes: 309773362
Change-Id: I9425364bab2e1413c02674cb2ae2c5be411f70c3
Override the config value for the comet device to make it happen.
Bug: 291870756
Test: m
Test: override the feature flag and observe
Change-Id: I887faf95391aaac268550e693bd1c38a5d290f68