From 2dc00a1d5914dc91c113a6297bfe326fd990c838 Mon Sep 17 00:00:00 2001 From: Dario Trombello Date: Fri, 22 May 2020 00:20:52 +0200 Subject: [PATCH] j7elte: Add GPS config files --- configs/gps/gps.conf | 5 ++++ configs/gps/gps.xml | 55 ++++++++++++++++++++++++++++++++++++++++++++ device.mk | 5 ++++ 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..1c97246 --- /dev/null +++ b/configs/gps/gps.conf @@ -0,0 +1,5 @@ +NTP_SERVER=pool.ntp.org +# XTRA_SERVER_1=https://gllto1.glpals.com/4day/v3/latest/lto2.dat +# XTRA_SERVER_2=https://gllto2.glpals.com/4day/v3/latest/lto2.dat +SUPL_HOST=supl.google.com +SUPL_PORT=7275 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.mk b/device.mk index 69ffbb1..e9b3225 100644 --- a/device.mk +++ b/device.mk @@ -23,6 +23,11 @@ PRODUCT_COPY_FILES += \ PRODUCT_PACKAGES += \ android.hardware.bluetooth@1.0-service +# GPS +PRODUCT_COPY_FILES += \ + $(LOCAL_PATH)/configs/gps/gps.conf:system/etc/gps.conf \ + $(LOCAL_PATH)/configs/gps/gps.xml:system/etc/gps.xml + # Ramdisk PRODUCT_PACKAGES += \ init.target.rc -- 2.20.1