diff --git a/device-felix.mk b/device-felix.mk index 85c73cc..16aecbc 100644 --- a/device-felix.mk +++ b/device-felix.mk @@ -232,3 +232,12 @@ PRODUCT_PRODUCT_PROPERTIES += \ # Hinge angle sensor PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.sensor.hinge_angle.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.hinge_angle.xml + +# Location +ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) + PRODUCT_COPY_FILES += \ + device/google/felix/location/gps.xml.f10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml +else + PRODUCT_COPY_FILES += \ + device/google/felix/location/gps_user.xml.f10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml +endif diff --git a/location/gps.xml.f10 b/location/gps.xml.f10 new file mode 100644 index 0000000..4d73818 --- /dev/null +++ b/location/gps.xml.f10 @@ -0,0 +1,95 @@ + + + + + + + + + + diff --git a/location/gps_user.xml.f10 b/location/gps_user.xml.f10 new file mode 100644 index 0000000..7a60567 --- /dev/null +++ b/location/gps_user.xml.f10 @@ -0,0 +1,94 @@ + + + + + + + + + +