commit | e46e12c0f6c3028889fe9fb05a373a2124021234 | [log] [tgz] |
---|---|---|
author | Saumya Prakash <saumyaprakash@google.com> | Tue Feb 20 22:50:31 2024 +0000 |
committer | Saumya Prakash <saumyaprakash@google.com> | Wed Mar 13 17:34:37 2024 +0000 |
tree | 98f171b7fa0451f6449078d1e2fbe58a5d831bd7 | |
parent | 98569d474ec2676ad4955ca5d473ad606f5242d7 [diff] |
Ensure taskbar insets for camera cutout only apply on the needed sides For devices with a camera cutout, we only need the increased inset to accomodate a camera cutout on the sides/orientations where the cutout interrupts the taskbar. This change ensures that the insets are only added when necessary. Fix: 325508089 Test: Open an app and ensure the insets remain unchanged for 0 and 90 degree rotations. Ensure the insets for 180 and 270 degrees are still covering the camera cutout. Flag: N/A (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ad5e4c795624955ae2d4a984b93cf7ae900e28aa) Merged-In: Iba766b8a19ddce37d9ca20afb0219d679ce36ace Change-Id: Iba766b8a19ddce37d9ca20afb0219d679ce36ace