Repository navigation
Phenotype: expose IMS configuration through provider - #4
Open
paulcakeface wants to merge 1 commit into
Open
paulcakeface wants to merge 1 commit into
paulcakeface wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
microg#3808 already carries the IMS/RCS configuration:
com.google.android.ims.library→
RcsProvisioning__min_gmscore_version_for_upi_without_acs_fallback_met=truebut
ConfigurationProvider.query()currently returns an empty cursor for every namespace. Recent Google Messages / IMS code also has a legacy ContentProvider reader for this namespace, so the configured value is present in microG but not delivered through that reader.This follow-up exposes the already-existing Boolean IMS configuration through
com.google.android.gms.phenotypefor the exactcom.google.android.ims.librarynamespace. Other namespaces keep the current empty-provider behaviour.This is intentionally narrow. It does not add or invent a new RCS policy flag.
Provenance / attribution
This builds directly on the existing microg#3808 RCS integration line and its inherited microg#3385 work. The UPI/RCS flag and broader provisioning design are not claimed here as new protocol discovery. This PR only fixes delivery of the value already present in microg#3808 through the provider path used by the client.
Validation
Base: microg#3808 head
223f91fe0cde7be17bcd19bb0e28087526d98bc4Head:
7de6271183220679b983c208148061bcf20f8870Exact diff: 3 files, +43/-1.
Regression
A semantically-equivalent unfixed state was first refactored to call
providerFlagValues()while still returning an empty map.Focused Release regression then failed as expected:
exposesExistingImsConfigurationToProviderReader→ RED by assertionWith the fix:
BUILD SUCCESSFUL, 10s)BUILD SUCCESSFUL in 2m17s):play-services-core:assembleMapboxDefaultRelease→ PASSBUILD SUCCESSFUL in 5m10s, 3424 actionable tasks14dfe8e6aed17b55d23adc85fa48abe51c23322e587e532af438429e6be9a6cdLocked-device physical A/B
Test device: Pixel 3, locked bootloader, Verified Boot green, current Google Messages RC02.
The physical qualification build contained the same provider source delta. Its only packaging-only difference was
versionCodeMajor 1 -> 2to allow a safe update over the existing qualification baseline; the lowBuildConfig.VERSION_CODEremained263518033.Signed candidate SHA256:
67e4ea7a7ba27ca6048d13568d691cb65e0ea21619104cf51c24eb43d31e90b9Identical bounded provider query:
content://com.google.android.gms.phenotype/com.google.android.ims.libraryBefore:
No result found.After:
Row: 0 key=RcsProvisioning__min_gmscore_version_for_upi_without_acs_fallback_met, value=trueSo the one-variable patch physically repairs delivery of the already-existing IMS flag on locked/no-root hardware.
ActivityManager also shows the microG Phenotype provider live/published while both Google Messages main and
:rcsprocesses are running. No persistent provider client relation was present at the readback; that is not treated as negative because the mapped RC02 reader acquires a ContentProvider client for the query and releases it.Limits
A baseline genuine Messages cold-start was observed before the candidate install, but did not expose the
VerifyMsisdnbranch during the bounded window. Therefore this PR does not claim:The demonstrated claim is narrower: microg#3808 configures an IMS flag, the provider path currently returns nothing, and this patch makes that same value physically available through the expected provider interface.
Refs: microg#3808, microg#3385, microg#2994