diff --git a/device-oriole.mk b/device-oriole.mk index 0b74ed1..f41eb7e 100644 --- a/device-oriole.mk +++ b/device-oriole.mk @@ -281,11 +281,21 @@ PRODUCT_PRODUCT_PROPERTIES += \ # Location ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) + ifneq (,$(filter 6.1, $(TARGET_LINUX_KERNEL_VERSION))) PRODUCT_COPY_FILES += \ - device/google/raviole/location/gps.xml.oriole:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml + device/google/raviole/location/gps.6.1.xml.oriole:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml + else + PRODUCT_COPY_FILES += \ + device/google/raviole/location/gps.xml.oriole:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml + endif else + ifneq (,$(filter 6.1, $(TARGET_LINUX_KERNEL_VERSION))) PRODUCT_COPY_FILES += \ - device/google/raviole/location/gps_user.xml.oriole:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml + device/google/raviole/location/gps_user.6.1.xml.oriole:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml + else + PRODUCT_COPY_FILES += \ + device/google/raviole/location/gps_user.xml.oriole:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml + endif endif # Enable DeviceAsWebcam support diff --git a/device-raven.mk b/device-raven.mk index 8382360..6d90b66 100644 --- a/device-raven.mk +++ b/device-raven.mk @@ -292,11 +292,21 @@ PRODUCT_PRODUCT_PROPERTIES += \ # Location ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) + ifneq (,$(filter 6.1, $(TARGET_LINUX_KERNEL_VERSION))) PRODUCT_COPY_FILES += \ - device/google/raviole/location/gps.xml.raven:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml + device/google/raviole/location/gps.6.1.xml.raven:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml + else + PRODUCT_COPY_FILES += \ + device/google/raviole/location/gps.xml.raven:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml + endif else + ifneq (,$(filter 6.1, $(TARGET_LINUX_KERNEL_VERSION))) PRODUCT_COPY_FILES += \ - device/google/raviole/location/gps_user.xml.raven:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml + device/google/raviole/location/gps_user.6.1.xml.raven:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml + else + PRODUCT_COPY_FILES += \ + device/google/raviole/location/gps_user.xml.raven:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml + endif endif # Enable DeviceAsWebcam support diff --git a/location/gps.6.1.xml.oriole b/location/gps.6.1.xml.oriole new file mode 100644 index 0000000..34a4552 --- /dev/null +++ b/location/gps.6.1.xml.oriole @@ -0,0 +1,105 @@ + + + + + + + + + + diff --git a/location/gps.6.1.xml.raven b/location/gps.6.1.xml.raven new file mode 100644 index 0000000..da9c8b4 --- /dev/null +++ b/location/gps.6.1.xml.raven @@ -0,0 +1,105 @@ + + + + + + + + + + diff --git a/location/gps_user.6.1.xml.oriole b/location/gps_user.6.1.xml.oriole new file mode 100644 index 0000000..2307636 --- /dev/null +++ b/location/gps_user.6.1.xml.oriole @@ -0,0 +1,104 @@ + + + + + + + + + + diff --git a/location/gps_user.6.1.xml.raven b/location/gps_user.6.1.xml.raven new file mode 100644 index 0000000..00d9b45 --- /dev/null +++ b/location/gps_user.6.1.xml.raven @@ -0,0 +1,104 @@ + + + + + + + + + +