From b5b218eea929f719703ca91df6b9868645909f4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Ciche=C5=84ski?= Date: Tue, 27 Jun 2023 02:58:26 +0000 Subject: [PATCH] Remove the keep clear areas XML tag from Hotseat It reports its size through SystemUiProxy and this tag causes it to report the region twice. Additionally upon screen rotation the value is getting updated with a delay, so for a moment two keep clear areas for Launcher are present - one from the previous orientation (on the side), and one from the current orientation (matching the proxy value in unrestrictedKeepClearAreas). Bug: 285242520 Test: before http://recall/-/ekEuGtt9d9HWqkUtAzpHx8/cLtiXGYUyItm2kNCCEkkWA Test: after http://recall/-/ekEuGtt9d9HWqkUtAzpHx8/iPs6fwdSXG3TE0IERmxA8 Change-Id: I40dfe08680c944f2be5db0f6b15515492f409565 --- res/layout/hotseat.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/res/layout/hotseat.xml b/res/layout/hotseat.xml index 95ebd94d0e..82b0b8d74e 100644 --- a/res/layout/hotseat.xml +++ b/res/layout/hotseat.xml @@ -21,5 +21,4 @@ android:layout_height="match_parent" android:theme="@style/HomeScreenElementTheme" android:importantForAccessibility="no" - android:preferKeepClear="true" launcher:containerType="hotseat" /> \ No newline at end of file