From 3118f05fc2050bff75c69c5299976ea89f830622 Mon Sep 17 00:00:00 2001 From: Uwais Ashraf Date: Thu, 27 Apr 2023 16:18:02 +0000 Subject: [PATCH] Add id for keyboard backlight container Bug: b/278522217 Test: Existing presubmit checks should be sufficient Change-Id: I1ef011df03da36e59fbca83da2d20228f78c1624 --- packages/SystemUI/res/values/ids.xml | 3 +++ .../keyboard/backlight/ui/view/KeyboardBacklightDialog.kt | 1 + 2 files changed, 4 insertions(+) diff --git a/packages/SystemUI/res/values/ids.xml b/packages/SystemUI/res/values/ids.xml index 499dfa4b3c9f7..eaeaabe8779a9 100644 --- a/packages/SystemUI/res/values/ids.xml +++ b/packages/SystemUI/res/values/ids.xml @@ -198,6 +198,9 @@ + + + diff --git a/packages/SystemUI/src/com/android/systemui/keyboard/backlight/ui/view/KeyboardBacklightDialog.kt b/packages/SystemUI/src/com/android/systemui/keyboard/backlight/ui/view/KeyboardBacklightDialog.kt index 2ef5e19bf382c..328beed3ae4b4 100644 --- a/packages/SystemUI/src/com/android/systemui/keyboard/backlight/ui/view/KeyboardBacklightDialog.kt +++ b/packages/SystemUI/src/com/android/systemui/keyboard/backlight/ui/view/KeyboardBacklightDialog.kt @@ -159,6 +159,7 @@ class KeyboardBacklightDialog( private fun buildRootView(): LinearLayout { val linearLayout = LinearLayout(context).apply { + id = R.id.keyboard_backlight_dialog_container orientation = LinearLayout.HORIZONTAL layoutParams = LayoutParams(WRAP_CONTENT, WRAP_CONTENT) setPadding(