set cm.updater.uri property cm-14.1
authorStricted <info@stricted.net>
Fri, 4 May 2018 21:34:17 +0000 (23:34 +0200)
committerStricted <info@stricted.net>
Fri, 4 May 2018 21:55:54 +0000 (23:55 +0200)
Change-Id: Ifc1ec37485b7555ca3ff7b60611d927e2ad8bd94

overlay/packages/apps/CMUpdater/res/values/config.xml [deleted file]
overlay/packages/apps/Updater/strings.xml [new file with mode: 0644]
product.mk

diff --git a/overlay/packages/apps/CMUpdater/res/values/config.xml b/overlay/packages/apps/CMUpdater/res/values/config.xml
deleted file mode 100644 (file)
index 87fc2e5..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<?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>
diff --git a/overlay/packages/apps/Updater/strings.xml b/overlay/packages/apps/Updater/strings.xml
new file mode 100644 (file)
index 0000000..4534814
--- /dev/null
@@ -0,0 +1,3 @@
+<resources>
+  <string name="update_server_url" translatable="false">https://lineage.stricted.net/api/v1/{device}/{type}/{incr}</string>
+</resources>
index 3662ff169a7efbc7271124142ea7529f2be62012..1f69862defc3e3f91051aab2ebbe5ecf407166cb 100644 (file)
@@ -8,5 +8,8 @@ endif
 # Add overlay
 DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
 
 # Add overlay
 DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
 
-PRODUCT_PROPERTY_OVERRIDES := \
+PRODUCT_PROPERTY_OVERRIDES += \
+    cm.updater.uri=https://lineage.stricted.net/api/v1/{device}/{type}/{incr}
+
+PRODUCT_PROPERTY_OVERRIDES += \
     ro.opa.eligible_device=true
     ro.opa.eligible_device=true