diff options
author | jschung <jschung@google.com> | 2024-01-30 20:01:07 +0900 |
---|---|---|
committer | jschung <jschung@google.com> | 2024-01-30 20:01:07 +0900 |
commit | 0be2028ebfb55711770fa1808b26db4f7a63c26b (patch) | |
tree | 5a14a9000e97a39bb87b3302f11023675bbfdefa | |
parent | 26b027d4bc5a5489c1144b3c921af3fd62d8f7b1 (diff) | |
download | aemu-0be2028ebfb55711770fa1808b26db4f7a63c26b.tar.gz |
Apply stacked layout only for Distant Display
Apply the stacked layout only if ro.emulator.car.distantdisplay is set.
Keep the non-distant display at the center of the bottom row.
Bug: 316033487
Test: Build and launch emulator
Change-Id: Ifd76b07ed0782b0327857707d9694a32cc15f438
-rw-r--r-- | base/include/aemu/base/LayoutResolver.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/base/include/aemu/base/LayoutResolver.h b/base/include/aemu/base/LayoutResolver.h index 00940bb..ef61fdc 100644 --- a/base/include/aemu/base/LayoutResolver.h +++ b/base/include/aemu/base/LayoutResolver.h @@ -29,8 +29,7 @@ std::unordered_map<uint32_t, std::pair<uint32_t, uint32_t>> resolveLayout( const double monitorAspectRatio); std::unordered_map<uint32_t, std::pair<uint32_t, uint32_t>> resolveStackedLayout( - std::unordered_map<uint32_t, std::pair<uint32_t, uint32_t>> rectangles, - const uint32_t monitorWidth); + std::unordered_map<uint32_t, std::pair<uint32_t, uint32_t>> rectangles); } // namespace base } // namespace android |