From: Danny Wood Date: Thu, 30 Jul 2020 07:47:29 +0000 (+0100) Subject: universal7580: Add common GPS configuration X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=303626917a7132970b7e9f0fa2c2709eb5a4a4bf;p=GitHub%2FLineageOS%2Fandroid_device_samsung_universal7580-common.git universal7580: Add common GPS configuration * Configuration files from A510FXXS8CSF3 Change-Id: I7df6e579731a5683a4181bdfbc7bb7c194e40db9 --- diff --git a/configs/gps/gps.conf b/configs/gps/gps.conf new file mode 100644 index 0000000..5871515 --- /dev/null +++ b/configs/gps/gps.conf @@ -0,0 +1,6 @@ +NTP_SERVER=north-america.pool.ntp.org +XTRA_SERVER_1=http://gllto1.glpals.com/4day/v3/latest/lto2.dat +XTRA_SERVER_2=http://gllto2.glpals.com/4day/v3/latest/lto2.dat +SUPL_HOST=supl.google.com +SUPL_PORT=7275 +SUPL_MODE=1 diff --git a/configs/gps/gps.xml b/configs/gps/gps.xml new file mode 100644 index 0000000..d3ca789 --- /dev/null +++ b/configs/gps/gps.xml @@ -0,0 +1,55 @@ + + + + + + + + + + + diff --git a/device-common.mk b/device-common.mk index 3949aa4..b8e6b27 100644 --- a/device-common.mk +++ b/device-common.mk @@ -66,6 +66,10 @@ PRODUCT_HOST_PACKAGES += \ PRODUCT_PACKAGES += \ android.hardware.gnss@1.0-impl +PRODUCT_COPY_FILES += \ + $(LOCAL_PATH)/configs/gps/gps.conf:system/etc/gps.conf \ + $(LOCAL_PATH)/configs/gps/gps.xml:system/etc/gps.xml + # Graphics PRODUCT_PACKAGES += \ libion \