From d61fc450528c6b2cd9ba0060a3e88a637c35cf79 Mon Sep 17 00:00:00 2001 From: Brandon Edens Date: Tue, 19 Nov 2024 16:12:02 +0000 Subject: dock_observer: allow dock rotation in OOBE Add a resource for configuration on whether or not we allow dock rotation for the OOBE SetupWizard. Bug: 374940810 Test: Enable the configuration and test OOBE + Docking for rotation. Flag: EXEMPT bugfix Change-Id: Ifba159ee2fdcf5f0b2875a84c4b833c7d454623b --- core/res/res/values/config.xml | 5 +++++ core/res/res/values/symbols.xml | 1 + .../core/java/com/android/server/DockObserver.java | 18 ++++++++++++++---- 3 files changed, 20 insertions(+), 4 deletions(-) diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml index 7799ff951997..eae8d5542436 100644 --- a/core/res/res/values/config.xml +++ b/core/res/res/values/config.xml @@ -815,6 +815,11 @@ we rely on gravity to determine the effective orientation. --> true + + false +