Discussion:
[android-porting] Is it possible to remove GPS support from build?
Husnain Ahmed
2018-04-18 17:26:07 UTC
Permalink
I want to remove gps services from my nokia 2 android 7.1. Is it possible
to disable gps feature permanently? If it does what steps I need to take
from basic to advance? Options can be cutom os, etc etc but i need step by
step guide
This will be a huge favor to me.
--
--
unsubscribe: android-porting+***@googlegroups.com
website: http://groups.google.com/group/android-porting

---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Renjith Rajagopal
2018-05-20 07:34:01 UTC
Permalink
It is possible to disable location in framework.
Override like following in your device.mk

PRODUCT_PROPERTY_OVERRIDES += \
config.disable_location=1

Reference:
https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/services/java/com/android/server/SystemServer.java
Post by Husnain Ahmed
I want to remove gps services from my nokia 2 android 7.1. Is it possible
to disable gps feature permanently? If it does what steps I need to take
from basic to advance? Options can be cutom os, etc etc but i need step by
step guide
This will be a huge favor to me.
--
--
unsubscribe: android-porting+***@googlegroups.com
website: http://groups.google.com/group/android-porting

---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...