add updater overlay
authorStricted <info@stricted.net>
Sun, 16 Apr 2017 18:15:42 +0000 (20:15 +0200)
committerStricted <info@stricted.net>
Sun, 16 Apr 2017 18:15:42 +0000 (20:15 +0200)
extra.xml
overlay/packages/apps/CMUpdater/res/values/config.xml [new file with mode: 0644]
product.mk

index 74b84aafad49f56c851762e47c0473c5c92964df..409bde242bf7e7544a4463325256009d676eef73 100644 (file)
--- a/extra.xml
+++ b/extra.xml
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <manifest>
-  <project name="luk1337/android_vendor_extra" path="vendor/extra" remote="github" revision="cm-14.1-rootless" />
+  <project name="Stricted/android_vendor_extra" path="vendor/extra" remote="github" revision="cm-14.1" />
   <project name="substratum/interfacer" path="packages/apps/ThemeInterfacer" remote="github" revision="n-rootless" />
 </manifest>
diff --git a/overlay/packages/apps/CMUpdater/res/values/config.xml b/overlay/packages/apps/CMUpdater/res/values/config.xml
new file mode 100644 (file)
index 0000000..87fc2e5
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?> 
+<!-- Copyright (C) 2012 The CyanogenMod Project
+     Copyright (C) 2017 The LineageOS Project
+     Licensed under the GNU GPLv2 license
+     The text of the license can be found in the LICENSE file
+     or at https://www.gnu.org/licenses/gpl-2.0.txt 
+--> 
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+
+    <!-- Updater Config Strings -->
+    <string name="conf_update_server_url_def" translatable="false">https://lineage.stricted.net/api</string>
+</resources>
index 2df34fc2d37ddd573d2e827322d1556e5e68798c..a44276f1d438648007d1deaa226597be9b0c4ab3 100644 (file)
@@ -2,3 +2,9 @@
 PRODUCT_PACKAGES += \
     ThemeInterfacer \
     projekt.substratum.theme.xml
+
+# Add overlay
+DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
+
+PRODUCT_PROPERTY_OVERRIDES := \
+    ro.opa.eligible_device=true