diff --git a/device-comet.mk b/device-comet.mk index ba84582..03c2427 100644 --- a/device-comet.mk +++ b/device-comet.mk @@ -327,6 +327,8 @@ PRODUCT_SOONG_NAMESPACES += \ # Location PRODUCT_SOONG_NAMESPACES += device/google/comet/location +# For GPS property +PRODUCT_VENDOR_PROPERTIES += ro.vendor.gps.pps.enabled=true $(call soong_config_set, gpssdk, buildtype, $(TARGET_BUILD_VARIANT)) PRODUCT_PACKAGES += gps.cfg diff --git a/location/user/gps.cfg b/location/user/gps.cfg index b951644..79b049a 100644 --- a/location/user/gps.cfg +++ b/location/user/gps.cfg @@ -10,7 +10,7 @@ gnss_device_patch_file=/vendor/firmware/kepler.bin allow_logging_if_disconnected=0 ism_stream_enable=1 caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK -Is1PPSTimeSyncEnable=0 +Is1PPSTimeSyncEnable=1 MaxNtnRefLocAgeSecs=600 GlueLayer_IsPlatformRefTimeEnable=1 chpp_betp_client=1 diff --git a/location/userdebug/gps.cfg b/location/userdebug/gps.cfg index 766d289..93e0037 100644 --- a/location/userdebug/gps.cfg +++ b/location/userdebug/gps.cfg @@ -27,7 +27,7 @@ ism_stream_enable=1 caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK # Enable/Disable 1PPS Time Sync policy -Is1PPSTimeSyncEnable=0 +Is1PPSTimeSyncEnable=1 MaxNtnRefLocAgeSecs=600 # CHIP_CONFIG_IO_OPT_HOSTIO_VIA_SECONDARY + CHIP_CONFIG_IO_OPT_CPMB_MASK