aboutsummaryrefslogtreecommitdiff
path: root/overlay/frameworks
diff options
context:
space:
mode:
authordianlujitao <dianlujitao@lineageos.org>2017-02-16 21:11:51 +0800
committerdavidevinavil <davidevinavil@gmail.com>2017-04-07 13:20:31 +0200
commitf8cad5b441e95b1527a522928d5f4f2799fdf9be (patch)
treed652a236a47b2c759ad784b5988411adb5dd73ef /overlay/frameworks
parente7ef94c47efc3456957f39261a71909d3ee324e5 (diff)
z2_plus: Hide sRGB toggle in developer options
* This is only available on Nexus/Pixel devices and we don't even support such color space. Change-Id: I8343e4986d7dd8413bd8d36dfad0309a4c08026e
Diffstat (limited to 'overlay/frameworks')
-rw-r--r--overlay/frameworks/base/packages/SettingsLib/res/values/arrays.xml29
1 files changed, 29 insertions, 0 deletions
diff --git a/overlay/frameworks/base/packages/SettingsLib/res/values/arrays.xml b/overlay/frameworks/base/packages/SettingsLib/res/values/arrays.xml
new file mode 100644
index 0000000..74c22e8
--- /dev/null
+++ b/overlay/frameworks/base/packages/SettingsLib/res/values/arrays.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+**
+** Copyright 2015 The Android Open Source Project
+** 2017 The LineageOS 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>
+ <!-- IDs for each color mode. The values must match the corresponding constants in
+ android.view.Display -->
+ <integer-array name="color_mode_ids">
+ <item>0</item>
+ <item>-1</item>
+ <item>-1</item>
+ </integer-array>
+</resources>