Repository navigation
DeviceIntegrity: Standard Play Integrity requests - #6392
shai-almog wants to merge 15 commits into
Conversation
requestIntegrityToken(nonce) only ever made a Classic request. Add requestStandardIntegrityToken(requestHash), configured by the android.playIntegrity.cloudProjectNumber hint; the token provider is prepared at startup and re-prepared when Google reports it expired. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ATE_STATIC) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Keep com.google.android.play.core.integrity under R8, refuse a project number without android.playIntegrity, answer Object methods on listener proxies, name an old SDK version in the error, cache the project number, UTF-8 in the example, drop an unverified quota claim. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
✅ Continuous Quality ReportTest & Coverage
Static Analysis
Generated automatically by the PR CI workflow. |
|
Developer Guide build artifacts are available for download from this workflow run:
Developer Guide quality checks: |
|
Compared 301 screenshots: 301 matched. Native Android coverage
✅ Native Android screenshot tests passed. Native Android coverage
Benchmark ResultsDetailed Performance Metrics
|
|
Compared 403 screenshots: 403 matched. |
Cloudflare Preview
|
|
Compared 316 screenshots: 316 matched. Benchmark ResultsDetailed Performance Metrics
|
Native fidelity (Android, Material 3)54 pairs compared -- median 95.6%, worst 91.3% ( Distribution --
Geometry vs native (bbox offset / size ratio / center offset / corner radius) -- gated separately from the visual score
Side-by-side comparisons (worst first)
|
|
Compared 316 screenshots: 316 matched. ParparVM vs HotSpot (JDK 25): Linux x64Runner CPU: AMD EPYC 9V74 80-Core Processor (baseline Ratios are ParparVM / JDK 25: below 1.00x ParparVM is faster (time) or smaller (RAM). Median of 5 interleaved, paired rounds; every run's output was verified. A ratio more than 20% (time) / 25% (RAM) above its baseline in
Result: no regression |
|
Compared 316 screenshots: 316 matched. ParparVM vs HotSpot (JDK 25): Linux arm64Runner CPU: Neoverse-V3 (baseline 1 performance regression:
Ratios are ParparVM / JDK 25: below 1.00x ParparVM is faster (time) or smaller (RAM). Median of 5 interleaved, paired rounds; every run's output was verified. A ratio more than 20% (time) / 25% (RAM) above its baseline in
A change that moves performance ON PURPOSE records the new baseline in Result: performance regression |
|
Compared 316 screenshots: 316 matched. Benchmark ResultsDetailed Performance Metrics
ParparVM vs HotSpot (JDK 25): Windows x64Runner CPU: AMD64 Family 25 Model 17 Stepping 1, AuthenticAMD (baseline Ratios are ParparVM / JDK 25: below 1.00x ParparVM is faster (time) or smaller (RAM). Median of 5 interleaved, paired rounds; every run's output was verified. A ratio more than 20% (time) / 25% (RAM) above its baseline in
Result: no regression |
|
Compared 316 screenshots: 316 matched. Benchmark ResultsDetailed Performance Metrics
ParparVM vs HotSpot (JDK 25): Windows arm64Runner CPU: ARMv8 (64-bit) Family 8 Model D84 Revision 1, MICROSOFT CORPORATION (baseline Ratios are ParparVM / JDK 25: below 1.00x ParparVM is faster (time) or smaller (RAM). Median of 5 interleaved, paired rounds; every run's output was verified. A ratio more than 20% (time) / 25% (RAM) above its baseline in
Result: no regression |
|
Compared 299 screenshots: 299 matched. Benchmark Results
Build and Run Timing
Detailed Performance Metrics
|
|
Compared 286 screenshots: 286 matched. |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A 4 s deadline inside the 5 s test timeout let a slow runner stop closing showOn's dialog before it was current (build-test (21) on master). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…BuildDaemon #278) Old ZBar libzbar.a has 64-bit members at offsets that are not multiples of 8; StaticLibraryAlignment rebuilds such archives with libtool/lipo. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ive dialogs The no-deadline closer still hung build-test (17): the dialog never became current. Two ways that happens are closed: an exception from dispose() ended the self-requeue chain, and a dialog in native window mode is never current. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>












































































































Standard Play Integrity requests
DeviceIntegrity.requestIntegrityToken(nonce)only ever made a Classic Play Integrity request. This addsDeviceIntegrity.requestStandardIntegrityToken(requestHash), the request type Google recommends for checking individual actions.android.playIntegrity=trueplus the newandroid.playIntegrity.cloudProjectNumberhint. The builder writes the number into application meta-data, with apprefix so the manifest keeps it as a string instead of overflowing an int. The build fails on a value that isn't a plain number, and on a project number set withoutandroid.playIntegrity.GoogleServices): the token provider is prepared at startup fromAndroidImplementation.init. It is prepared again onINTEGRITY_TOKEN_PROVIDER_INVALID(-19), retrying once. Concurrent requests wait for a prepare already in flight. Like the Classic path, it uses reflection only.com.google.android.play.core.integrity.**is now kept wheneverandroid.playIntegrityis on. Because the port reaches these classes by reflection, R8 could strip them. That affected the Classic path too, unless theverifyUrllaunch gate happened to reference them.requestIntegrityTokenstays Classic. App Shield relies on its nonce, and it is the call that works on iOS. Elsewhere the new call completes with an error that says what to configure.Cloud builds need the companion BuildDaemon PR: codenameone/BuildDaemon#BDPR. Until it is deployed, the project number never reaches a cloud-built manifest.
Not covered: a real Standard request has not run on a device. That needs an app distributed through Play and linked to a Cloud project, which CI does not have.
🤖 Generated with Claude Code