From a5af84dc68b7d65cde570c7b03bbde4135611f17 Mon Sep 17 00:00:00 2001 From: Stricted Date: Fri, 4 May 2018 23:34:17 +0200 Subject: [PATCH] set cm.updater.uri property Change-Id: Ifc1ec37485b7555ca3ff7b60611d927e2ad8bd94 --- .../packages/apps/CMUpdater/res/values/config.xml | 12 ------------ overlay/packages/apps/Updater/strings.xml | 3 +++ product.mk | 5 ++++- 3 files changed, 7 insertions(+), 13 deletions(-) delete mode 100644 overlay/packages/apps/CMUpdater/res/values/config.xml create mode 100644 overlay/packages/apps/Updater/strings.xml diff --git a/overlay/packages/apps/CMUpdater/res/values/config.xml b/overlay/packages/apps/CMUpdater/res/values/config.xml deleted file mode 100644 index 87fc2e5..0000000 --- a/overlay/packages/apps/CMUpdater/res/values/config.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - https://lineage.stricted.net/api - diff --git a/overlay/packages/apps/Updater/strings.xml b/overlay/packages/apps/Updater/strings.xml new file mode 100644 index 0000000..4534814 --- /dev/null +++ b/overlay/packages/apps/Updater/strings.xml @@ -0,0 +1,3 @@ + + https://lineage.stricted.net/api/v1/{device}/{type}/{incr} + diff --git a/product.mk b/product.mk index 3662ff1..1f69862 100644 --- a/product.mk +++ b/product.mk @@ -8,5 +8,8 @@ endif # 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 -- 2.20.1