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
On Thursday, April 19, 2018 at 10:03:02 PM UTC+2, Husnain Ahmed wrote:
>
> 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: [email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.