From 3fd093213d44b36ada1c79f56d8d9b57ec1de2c8 Mon Sep 17 00:00:00 2001 From: Tiger Date: Tue, 26 Mar 2024 19:20:07 +0800 Subject: Set windowOptOutEdgeToEdgeEnforcement for ControlsActivity This is a temporary solution to prevent the layout issue while enabling the feature flag of the edge-to-edge enforcement. We still need to make activity handle insets properly later. Bug: 309578419 Bug: 330435386 Flag: Aconfig com.android.window.flags.enforce_edge_to_edge TRUNKFOOD Test: 1. Enter the Lock screen 2. Long press on the device control (home) 3. Make sure the tool bar of ControlsActivity is not overlapped with status bar Change-Id: I7d92f35ca7777a4a1a3d2c9354b2f83e5f2f5914 --- packages/SystemUI/res/values/styles.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/SystemUI/res/values/styles.xml b/packages/SystemUI/res/values/styles.xml index 455b1920706f..6462d02de481 100644 --- a/packages/SystemUI/res/values/styles.xml +++ b/packages/SystemUI/res/values/styles.xml @@ -987,6 +987,11 @@ @drawable/ic_blank @*android:color/primary_text_material_dark + + + true