summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Chris Göllner <chrisgollner@google.com> 2024-02-09 13:09:43 +0000
committer Chris Göllner <chrisgollner@google.com> 2024-02-21 10:24:08 +0000
commitf349725f6ab5ac8f8c19640effbdd4478a03f1a2 (patch)
treee2c0c8bf273f900dcbd26e9eb05903e0de3942b1 /libs/androidfw/FileStream.cpp
parentc06b75516cadfcae0942911a43ecbe27110c700c (diff)
Camera Protection Info - Take into account rotation for bounds
Before, we were always returning the original not rotated bounds of the camera protection. With this change, the bounds will be adjusted/rotated to the correct position, based on the current display rotation. This is the same behaviour as the DisplayCutout. Its bounds are also adjusted based on the current rotation. Test: SysUICutoutProviderTest Test: Manually Fixes: 324405921 Flag: NONE Change-Id: I7945130557bb10e405bf28d74c855e5d31c731cc
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions