summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authormike dooley <mdooley@google.com>2017-09-21 14:16:35 -0700
committermike dooley <mdooley@google.com>2017-09-27 16:11:43 -0700
commit03902b7d8b1c8a97d77f2e98a33e722d10dd5b93 (patch)
tree3d3ceb3d18a2b6748ad11ccb716978111177c25b /res/values
parentdfe8401a3eed7c664a6ec5a8194f50d1de3a4611 (diff)
downloadplatform_packages_services_Telecomm-03902b7d8b1c8a97d77f2e98a33e722d10dd5b93.tar.gz
platform_packages_services_Telecomm-03902b7d8b1c8a97d77f2e98a33e722d10dd5b93.tar.bz2
platform_packages_services_Telecomm-03902b7d8b1c8a97d77f2e98a33e722d10dd5b93.zip
Re-enabling temporary location permission granting for emergency calls
We disabled this feature to avoid the case where a user is in a call then adds an emergency call, then disconnects the emergency call, which could cause the original call to be disconnected too (because the dialer process gets killed when location permission is revoked). But that situation does not currently happen (because adding the emergency call doesn't go through the EmergencyInCallServiceConnection, and thus no attempt to grant temporary location permission is made). This cl fixes that situation by also granting location permission when an emergency call is added while there is an ongoing call, and revokes it when all calls have ended. Note: it is not possible to merge the original call and the emergency call. Note: the dialer will still be killed after all calls end, if one of them was an emergency call which was granted temporary location permission. Bug: 37475749 Test: manual Change-Id: I12b1362749ee265557d007a989917339468e9b0d
Diffstat (limited to 'res/values')
-rw-r--r--res/values/config.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/res/values/config.xml b/res/values/config.xml
index 111d86bce..a056f8a5a 100644
--- a/res/values/config.xml
+++ b/res/values/config.xml
@@ -48,6 +48,6 @@
<bool name="silence_incoming_when_different_service_and_maximum_ringing">false</bool>
<!-- Determines if the granting temporary location permission to the default dialer
- during an emergency call should be allowed. The default is false. -->
- <bool name="grant_location_permission_enabled">false</bool>
+ during an emergency call should be allowed. -->
+ <bool name="grant_location_permission_enabled">true</bool>
</resources>