diff options
| author | 2023-05-02 17:09:02 +0000 | |
|---|---|---|
| committer | 2023-05-02 17:09:02 +0000 | |
| commit | fed2847bbe205bcee8d2b9c3ea2576cdf6364ca5 (patch) | |
| tree | ca8ee630e7ea3069c8f0539190916291b8258aad | |
| parent | 73b4f7d105a926ea0669fdfe861a3f472754bf18 (diff) | |
| parent | 1a1cc48d03434d5c1d0321bc7f57a2a4ccaf1756 (diff) | |
Merge "Add id for keyboard backlight container" into udc-dev am: 1a1cc48d03
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22907721
Change-Id: Iab6fad78c055f2e4775daee4d7c708048cb6ed48
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| -rw-r--r-- | packages/SystemUI/res/values/ids.xml | 3 | ||||
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/keyboard/backlight/ui/view/KeyboardBacklightDialog.kt | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/packages/SystemUI/res/values/ids.xml b/packages/SystemUI/res/values/ids.xml index 499dfa4b3c9f..eaeaabe8779a 100644 --- a/packages/SystemUI/res/values/ids.xml +++ b/packages/SystemUI/res/values/ids.xml @@ -198,6 +198,9 @@ <item type="id" name="pm_lite"/> <item type="id" name="settings_button_container"/> + <!--Keyboard Backlight Dialog --> + <item type="id" name="keyboard_backlight_dialog_container"/> + <item type="id" name="log_access_dialog_allow_button" /> <item type="id" name="log_access_dialog_deny_button" /> </resources> 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 2ef5e19bf382..328beed3ae4b 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( |