diff --git a/device-bluejay.mk b/device-bluejay.mk
index 33cb592..de610c9 100644
--- a/device-bluejay.mk
+++ b/device-bluejay.mk
@@ -219,11 +219,21 @@ PRODUCT_PRODUCT_PROPERTIES += \
# GPS xml
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
- PRODUCT_COPY_FILES += \
- device/google/bluejay/gps.xml.b3:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
+ ifneq (,$(filter 6.1, $(TARGET_LINUX_KERNEL_VERSION)))
+ PRODUCT_COPY_FILES += \
+ device/google/bluejay/gps.6.1.xml.b3:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
+ else
+ PRODUCT_COPY_FILES += \
+ device/google/bluejay/gps.xml.b3:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
+ endif
else
- PRODUCT_COPY_FILES += \
- device/google/bluejay/gps_user.xml.b3:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
+ ifneq (,$(filter 6.1, $(TARGET_LINUX_KERNEL_VERSION)))
+ PRODUCT_COPY_FILES += \
+ device/google/bluejay/gps_user.6.1.xml.b3:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
+ else
+ PRODUCT_COPY_FILES += \
+ device/google/bluejay/gps_user.xml.b3:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
+ endif
endif
# This device is shipped with 32 (Android S V2)
diff --git a/gps.6.1.xml.b3 b/gps.6.1.xml.b3
new file mode 100644
index 0000000..18f5e65
--- /dev/null
+++ b/gps.6.1.xml.b3
@@ -0,0 +1,101 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/gps_user.6.1.xml.b3 b/gps_user.6.1.xml.b3
new file mode 100644
index 0000000..afa301b
--- /dev/null
+++ b/gps_user.6.1.xml.b3
@@ -0,0 +1,101 @@
+
+
+
+
+
+
+
+
+
+
+