Modern Apps git

← MAOS.git

maos: disable network location and geocoder overlay bools so provider pins take effect

Commit
7a57e43f1e0d084602c2d63e068688ba54797ec9
Author
Vayun Mathur <[email protected]>
When
2026-08-09 22:22 UTC (3 months ago)
Parents
9a8602d

Diff

overlay/frameworks/base/core/res/res/values/config.xml
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xmlindex 8c4a3ff..386b6ef 100644--- a/overlay/frameworks/base/core/res/res/values/config.xml+++ b/overlay/frameworks/base/core/res/res/values/config.xml@@ -31,4 +31,12 @@          (bound via the com.android.location.service.v3.NetworkLocationProvider action) becomes          THE system network location provider, replacing GrapheneOS's NetworkLocation module. -->     <string name="config_networkLocationProviderPackageName" translatable="false">com.vayunmathur.networklocation</string>++    <!-- The two config_*ProviderPackageName pins above are ONLY honored when these overlay+         bools are false. They default to TRUE in AOSP, in which case the framework ignores the+         explicit package name and instead signature-matches candidate providers against the+         platform key (picking the highest version). Our app is presigned with the com.vayunmathur+         key, not the platform key, so it would never be selected. Force the explicit-pin path. -->+    <bool name="config_enableNetworkLocationOverlay">false</bool>+    <bool name="config_enableGeocoderOverlay">false</bool> </resources>