aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjschung <jschung@google.com>2024-01-30 20:01:07 +0900
committerjschung <jschung@google.com>2024-01-30 20:01:07 +0900
commit0be2028ebfb55711770fa1808b26db4f7a63c26b (patch)
tree5a14a9000e97a39bb87b3302f11023675bbfdefa
parent26b027d4bc5a5489c1144b3c921af3fd62d8f7b1 (diff)
downloadaemu-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.h3
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