aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Martins <bgcngm@gmail.com>2019-11-11 23:13:51 +0000
committerBruno Martins <bgcngm@gmail.com>2019-11-11 23:36:22 +0000
commitc54b368f39683da2688f80b6ab101425555b4069 (patch)
tree8bd1914e885f7a6611d531c7cdd14fc906adc15e
parent0e8c53ac98c4f05bd293d2d3b4baae1f239a639a (diff)
beryllium: Drop QC location support
This reverts commit 4742d474370d5b1cfe300d61ebe19a6496a545b7. It leaks the IP, location and more to some 3rd party companies, bla bla bla. Let's stop with all the whining. Change-Id: I77a82306b21030056e30d43eda4e504963554309
-rw-r--r--device-props.mk4
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml24
-rw-r--r--proprietary-files.txt14
3 files changed, 1 insertions, 41 deletions
diff --git a/device-props.mk b/device-props.mk
index b5515bb..46cd2a6 100644
--- a/device-props.mk
+++ b/device-props.mk
@@ -19,7 +19,3 @@ PRODUCT_PROPERTY_OVERRIDES += \
# FM
PRODUCT_PROPERTY_OVERRIDES += \
vendor.hw.fm.init=0
-
-# GNSS
-PRODUCT_PROPERTY_OVERRIDES += \
- persist.vendor.overlay.izat.optin=rro
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index 4bf660a..636f1b0 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -37,29 +37,7 @@
be picked. Anyone who wants to disable the overlay mechanism can set it
to false.
-->
- <bool name="config_enableNetworkLocationOverlay" translatable="false">false</bool>
-
- <!-- Package name providing network location support. Used only when
- config_enableNetworkLocationOverlay is false. -->
- <string name="config_networkLocationProviderPackageName" translatable="false">com.qualcomm.location</string>
-
- <!-- Whether to enable fused location provider overlay which allows fused
- location provider to be replaced by an app at run-time. When disabled,
- only the config_fusedLocationProviderPackageName package will be
- searched for fused location provider, otherwise packages whose
- signature matches the signatures of config_locationProviderPackageNames
- will be searched, and the service with the highest version number will
- be picked. Anyone who wants to disable the overlay mechanism can set it
- to false.
- -->
- <bool name="config_enableFusedLocationOverlay" translatable="false">false</bool>
-
- <!-- Package name providing fused location support. Used only when
- config_enableFusedLocationOverlay is false. -->
- <string name="config_fusedLocationProviderPackageName" translatable="false">com.qualcomm.location</string>
-
- <!-- Component name of the combo network location provider. -->
- <string name="config_comboNetworkLocationProvider" translatable="false">com.qualcomm.location</string>
+ <bool name="config_enableNetworkLocationOverlay" translatable="false">true</bool>
<!-- Is the notification LED intrusive? Used to decide if there should be a disable option -->
<bool name="config_intrusiveNotificationLed">true</bool>
diff --git a/proprietary-files.txt b/proprietary-files.txt
index 74f31f9..968a97c 100644
--- a/proprietary-files.txt
+++ b/proprietary-files.txt
@@ -220,20 +220,6 @@ vendor/lib/hw/vendor.qti.hardware.fm@1.0-impl.so
vendor/lib/vendor.qti.hardware.fm@1.0.so
# GNSS
-etc/permissions/com.qti.location.sdk.xml
-etc/permissions/com.qualcomm.location.xml
-etc/permissions/izat.xt.srv.xml
-etc/permissions/privapp-permissions-com.qualcomm.location.xml
-framework/com.qti.location.sdk.jar
-framework/izat.xt.srv.jar
-lib64/liblocationservice_jni.so
-lib64/libxt_native.so
-lib64/vendor.qti.gnss@1.0.so
-lib64/vendor.qti.gnss@1.1.so
-lib64/vendor.qti.gnss@1.2.so
-lib64/vendor.qti.gnss@2.0.so
-lib64/vendor.qti.gnss@2.1.so
--priv-app/com.qualcomm.location/com.qualcomm.location.apk
vendor/bin/hw/vendor.qti.gnss@2.0-service
vendor/bin/DR_AP_Service
vendor/bin/chre