diff --git a/location/gnssd/Android.bp b/location/gnssd/Android.bp index 1774bd7..f7fb192 100644 --- a/location/gnssd/Android.bp +++ b/location/gnssd/Android.bp @@ -42,14 +42,9 @@ cc_prebuilt_binary { // Bypass because libhidltransport is deprecated // Bypass because libhwbinder is deprecated check_elf_files: false, - product_variables: { - debuggable: { - required: [ - "libsighandler", - ], - }, - }, - + required: [ + "libsighandler", + ], init_rc: ["init.gnss.rc"], vintf_fragments: ["android.hardware.gnss@default.xml"], } @@ -86,14 +81,8 @@ cc_prebuilt_binary { }, // Bypass because libsitril-gps is Android.mk module check_elf_files: false, - product_variables: { - debuggable: { - required: [ - "libsighandler", - ], - }, - }, required: [ "libcustomgnss", + "libsighandler", ], } diff --git a/location/gnssd/gnss_release.mk b/location/gnssd/gnss_release.mk index 452d7d9..3e606fb 100644 --- a/location/gnssd/gnss_release.mk +++ b/location/gnssd/gnss_release.mk @@ -1,3 +1,5 @@ +# Enable coredump funtcion for all the ROM. +$(call soong_config_set_bool,sighandler,coredump,true) # Enable pixel gnss hal service -include vendor/google/gnss/aidl_service/pixel_gnss_hal.mk diff --git a/location/gnssd/release/gps_user.cfg b/location/gnssd/release/gps_user.cfg index ed40ec5..7309847 100644 --- a/location/gnssd/release/gps_user.cfg +++ b/location/gnssd/release/gps_user.cfg @@ -1,7 +1,7 @@ GlueLayer_ToolConfigSelection=3 debug_console=0 debug_enable=0 -mem_dump_to_node=0 +mem_dump_to_node=1 GlueLayer_IsGedKeyExist=1 GlueLayer_EnableGnssCfgInterface=1 ism_stream_enable=1 diff --git a/powerhint-akita.json b/powerhint-akita.json index 963c402..7f6f3f2 100644 --- a/powerhint-akita.json +++ b/powerhint-akita.json @@ -2798,7 +2798,7 @@ "PowerHint": "GAME", "Node": "AutoPreferIdle", "Duration": 0, - "Value": "1" + "Value": "0" }, { "PowerHint": "GAME",