Disable LiveDisplay by default for ATV
This required adding an overlay directory for tv
Change-Id: I66749522a62b6d94002a8a7c9f632d1b5f6a2600
diff --git a/config/common_full_tv.mk b/config/common_full_tv.mk
index ccb0a0e..8d097e7 100644
--- a/config/common_full_tv.mk
+++ b/config/common_full_tv.mk
@@ -2,3 +2,5 @@
$(call inherit-product, vendor/lineage/config/common_full.mk)
PRODUCT_PACKAGES += TvSettings
+
+DEVICE_PACKAGE_OVERLAYS += vendor/lineage/overlay/tv
diff --git a/overlay/tv/lineage-sdk/lineage/res/res/values/config.xml b/overlay/tv/lineage-sdk/lineage/res/res/values/config.xml
new file mode 100644
index 0000000..f74a852
--- /dev/null
+++ b/overlay/tv/lineage-sdk/lineage/res/res/values/config.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+
+ <!-- Disable LiveDisplay on ATV -->
+ <integer name="config_defaultLiveDisplayMode">0</integer>
+
+</resources>