summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Fiona Campbell <flc@google.com> 2024-01-29 17:23:45 +0000
committer Fiona Campbell <flc@google.com> 2024-02-16 16:57:48 +0000
commitf8360776bbd2da3a8a2ff9a152abb3c9801f6469 (patch)
tree5d660452a917d3bfa5933ccf4b8480665fddc05b
parentc928d9993b0594287ffa5ef97b4906c515261b35 (diff)
Create EvenDimmer Config
- create setting for EvenDimmer - create display specific config.xml Bug: 179428400 Test: manual Change-Id: I31df067514bc12dab9d034ec80c03ac3799bded3
-rw-r--r--core/res/res/values/config_display.xml33
-rw-r--r--core/res/res/values/symbols.xml3
2 files changed, 36 insertions, 0 deletions
diff --git a/core/res/res/values/config_display.xml b/core/res/res/values/config_display.xml
new file mode 100644
index 000000000000..2e66060926fd
--- /dev/null
+++ b/core/res/res/values/config_display.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+** Copyright (C) 2024 The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+-->
+
+<!-- Resources used in DisplayManager.
+
+ These resources are around just to allow their values to be customized
+ for different hardware and product builds. Do not translate.
+
+ NOTE: The naming convention is "config_camelCaseValue". -->
+
+
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+
+ <!-- Whether even dimmer feature is enabled. -->
+ <bool name="config_evenDimmerEnabled">false</bool>
+
+</resources>
diff --git a/core/res/res/values/symbols.xml b/core/res/res/values/symbols.xml
index 7c290b1ba3e1..0ed789468072 100644
--- a/core/res/res/values/symbols.xml
+++ b/core/res/res/values/symbols.xml
@@ -5355,6 +5355,9 @@
<java-symbol type="string" name="satellite_notification_how_it_works" />
<java-symbol type="drawable" name="ic_satellite_alt_24px" />
+ <!-- DisplayManager configs. -->
+ <java-symbol type="bool" name="config_evenDimmerEnabled" />
+
<java-symbol type="bool" name="config_watchlistUseFileHashesCache" />
<!-- System corner radius baseline sizes. Used by Material styling of rounded corner shapes-->