Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Phenotype: expose IMS configuration through provider - #4

Open
paulcakeface wants to merge 1 commit into
Chess-Debug:foundragon/rcs-rc1-sourcefrom
paulcakeface:paul/ims-provider-delivery
Open

paulcakeface wants to merge 1 commit into
Chess-Debug:foundragon/rcs-rc1-sourcefrom
paulcakeface:paul/ims-provider-delivery

Conversation

@paulcakeface

Copy link
Copy Markdown

Summary

microg#3808 already carries the IMS/RCS configuration:

com.google.android.ims.library
→ RcsProvisioning__min_gmscore_version_for_upi_without_acs_fallback_met=true

but 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.phenotype for the exact com.google.android.ims.library namespace. 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 223f91fe0cde7be17bcd19bb0e28087526d98bc4

Head: 7de6271183220679b983c208148061bcf20f8870

Exact 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 assertion
  • unrelated-namespace test → PASS

With the fix:

  • focused MapboxDefault Release test → PASS (BUILD SUCCESSFUL, 10s)
  • focused MapboxDefault Debug test → PASS (BUILD SUCCESSFUL in 2m17s)
  • full :play-services-core:assembleMapboxDefaultRelease → PASS
  • full build: BUILD SUCCESSFUL in 5m10s, 3424 actionable tasks
  • clean release APK SHA256: 14dfe8e6aed17b55d23adc85fa48abe51c23322e587e532af438429e6be9a6cd

Locked-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 -> 2 to allow a safe update over the existing qualification baseline; the low BuildConfig.VERSION_CODE remained 263518033.

Signed candidate SHA256:
67e4ea7a7ba27ca6048d13568d691cb65e0ea21619104cf51c24eb43d31e90b9

Identical bounded provider query:

content://com.google.android.gms.phenotype/com.google.android.ims.library

Before:
No result found.

After:
Row: 0 key=RcsProvisioning__min_gmscore_version_for_upi_without_acs_fallback_met, value=true

So 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 :rcs processes 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 VerifyMsisdn branch 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

@TripleU613

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants