aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordianlujitao <dianlujitao@lineageos.org>2017-02-17 13:16:22 +0100
committerRygebin <kaankulahli@gmail.com>2017-06-24 09:58:11 +0000
commit6c975137bdc3ce19bab005a419c8d1cd4337992f (patch)
treedbd8d7798208b0fcf41afebc2967b48be8fed928
parent4e214c3936960d766d1de78986693fab9be539c2 (diff)
msm8916: Hide sRGB toggle in developer options
* This is only available on Nexus/Pixel devices, and we have our own implementation in livedisplay. Change-Id: Ic7f44d7e74fc3ce8efa6ff38bc3f03749d0d5314
-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>