diff --git a/device-cheetah.mk b/device-cheetah.mk index c128bd4..bdccead 100644 --- a/device-cheetah.mk +++ b/device-cheetah.mk @@ -157,3 +157,12 @@ PRODUCT_PACKAGES += \ # Trusty liboemcrypto.so PRODUCT_SOONG_NAMESPACES += vendor/google_devices/pantah/prebuilts + +# Location +ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) + PRODUCT_COPY_FILES += \ + device/google/pantah/location/gps.xml.c10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml +else + PRODUCT_COPY_FILES += \ + device/google/pantah/location/gps_user.xml.c10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml +endif diff --git a/device-cloudripper.mk b/device-cloudripper.mk index 0176ec1..4ac2ed0 100644 --- a/device-cloudripper.mk +++ b/device-cloudripper.mk @@ -140,3 +140,12 @@ PRODUCT_PACKAGES += \ # Trusty liboemcrypto.so PRODUCT_SOONG_NAMESPACES += vendor/google_devices/pantah/prebuilts + +# Location +ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) + PRODUCT_COPY_FILES += \ + device/google/pantah/location/gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml +else + PRODUCT_COPY_FILES += \ + device/google/pantah/location/gps_user.xml:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml +endif diff --git a/device-panther.mk b/device-panther.mk index 2fbf95d..9f08c4c 100644 --- a/device-panther.mk +++ b/device-panther.mk @@ -154,3 +154,12 @@ PRODUCT_PACKAGES += \ # Trusty liboemcrypto.so PRODUCT_SOONG_NAMESPACES += vendor/google_devices/pantah/prebuilts + +# Location +ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) + PRODUCT_COPY_FILES += \ + device/google/pantah/location/gps.xml.p10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml +else + PRODUCT_COPY_FILES += \ + device/google/pantah/location/gps_user.xml.p10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml +endif diff --git a/device-ravenclaw.mk b/device-ravenclaw.mk index 7862da4..9db0f3c 100644 --- a/device-ravenclaw.mk +++ b/device-ravenclaw.mk @@ -150,3 +150,12 @@ PRODUCT_PACKAGES += \ # Trusty liboemcrypto.so PRODUCT_SOONG_NAMESPACES += vendor/google_devices/pantah/prebuilts + +# Location +ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) + PRODUCT_COPY_FILES += \ + device/google/pantah/location/gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml +else + PRODUCT_COPY_FILES += \ + device/google/pantah/location/gps_user.xml:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml +endif diff --git a/location/gps.xml b/location/gps.xml new file mode 100644 index 0000000..00cc8f4 --- /dev/null +++ b/location/gps.xml @@ -0,0 +1,88 @@ + + + + + + + + + + diff --git a/location/gps.xml.c10 b/location/gps.xml.c10 new file mode 100644 index 0000000..00cc8f4 --- /dev/null +++ b/location/gps.xml.c10 @@ -0,0 +1,88 @@ + + + + + + + + + + diff --git a/location/gps.xml.p10 b/location/gps.xml.p10 new file mode 100644 index 0000000..00cc8f4 --- /dev/null +++ b/location/gps.xml.p10 @@ -0,0 +1,88 @@ + + + + + + + + + + diff --git a/location/gps_user.xml b/location/gps_user.xml new file mode 100644 index 0000000..f8b182e --- /dev/null +++ b/location/gps_user.xml @@ -0,0 +1,87 @@ + + + + + + + + + + diff --git a/location/gps_user.xml.c10 b/location/gps_user.xml.c10 new file mode 100644 index 0000000..f8b182e --- /dev/null +++ b/location/gps_user.xml.c10 @@ -0,0 +1,87 @@ + + + + + + + + + + diff --git a/location/gps_user.xml.p10 b/location/gps_user.xml.p10 new file mode 100644 index 0000000..f8b182e --- /dev/null +++ b/location/gps_user.xml.p10 @@ -0,0 +1,87 @@ + + + + + + + + + +