From e5d07d2fad4e5455001b6ac6a264beea4ea410b6 Mon Sep 17 00:00:00 2001 From: Shinru Han Date: Mon, 29 Jul 2024 04:14:56 +0000 Subject: [PATCH] gps: Enable ExitOnComFailure Enable ExitOnComFailure so gpsd will call exit() instead of calling abort() when com failed due to system performance degradation. Test: on device Bug: 341508348 Change-Id: Ia1af6a5e13307b6ed9887969449e42b3e4eeb1ef --- location/gps.6.1.xml.oriole | 1 + location/gps.6.1.xml.raven | 1 + location/gps.xml | 1 + location/gps.xml.oriole | 1 + location/gps.xml.raven | 1 + 5 files changed, 5 insertions(+) diff --git a/location/gps.6.1.xml.oriole b/location/gps.6.1.xml.oriole index 34a4552..90abf83 100644 --- a/location/gps.6.1.xml.oriole +++ b/location/gps.6.1.xml.oriole @@ -56,6 +56,7 @@ AttributionAppPkgName="com.google.android.carrierlocation" AssertEnabled="true" + ExitOnComFailure="true" CpLppeCancelDbhOnAgnssProvideLoc="true" CpLppeUseAgnssLocForEmptyDbh="true" ReAidingOnHotStart="false" diff --git a/location/gps.6.1.xml.raven b/location/gps.6.1.xml.raven index da9c8b4..f759bf5 100644 --- a/location/gps.6.1.xml.raven +++ b/location/gps.6.1.xml.raven @@ -56,6 +56,7 @@ AttributionAppPkgName="com.google.android.carrierlocation" AssertEnabled="true" + ExitOnComFailure="true" CpLppeCancelDbhOnAgnssProvideLoc="true" CpLppeUseAgnssLocForEmptyDbh="true" ReAidingOnHotStart="false" diff --git a/location/gps.xml b/location/gps.xml index fb8dd62..ef328be 100644 --- a/location/gps.xml +++ b/location/gps.xml @@ -56,6 +56,7 @@ AttributionAppPkgName="com.google.android.carrierlocation" AssertEnabled="true" + ExitOnComFailure="true" CpLppeCancelDbhOnAgnssProvideLoc="true" CpLppeUseAgnssLocForEmptyDbh="true" ReAidingOnHotStart="false" diff --git a/location/gps.xml.oriole b/location/gps.xml.oriole index 7dc695c..ae9f6fc 100644 --- a/location/gps.xml.oriole +++ b/location/gps.xml.oriole @@ -56,6 +56,7 @@ AttributionAppPkgName="com.google.android.carrierlocation" AssertEnabled="true" + ExitOnComFailure="true" CpLppeCancelDbhOnAgnssProvideLoc="true" CpLppeUseAgnssLocForEmptyDbh="true" ReAidingOnHotStart="false" diff --git a/location/gps.xml.raven b/location/gps.xml.raven index 31cf6c9..baea540 100644 --- a/location/gps.xml.raven +++ b/location/gps.xml.raven @@ -56,6 +56,7 @@ AttributionAppPkgName="com.google.android.carrierlocation" AssertEnabled="true" + ExitOnComFailure="true" CpLppeCancelDbhOnAgnssProvideLoc="true" CpLppeUseAgnssLocForEmptyDbh="true" ReAidingOnHotStart="false"