From 303626917a7132970b7e9f0fa2c2709eb5a4a4bf Mon Sep 17 00:00:00 2001 From: Danny Wood Date: Thu, 30 Jul 2020 08:47:29 +0100 Subject: [PATCH] universal7580: Add common GPS configuration * Configuration files from A510FXXS8CSF3 Change-Id: I7df6e579731a5683a4181bdfbc7bb7c194e40db9 --- configs/gps/gps.conf | 6 +++++ configs/gps/gps.xml | 55 ++++++++++++++++++++++++++++++++++++++++++++ device-common.mk | 4 ++++ 3 files changed, 65 insertions(+) create mode 100644 configs/gps/gps.conf create mode 100644 configs/gps/gps.xml 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 \ -- 2.20.1