Skip to content

[pull] androidx-main from androidx:androidx-main#506

Merged
pull[bot] merged 41 commits intowarting:androidx-mainfrom
androidx:androidx-main
Sep 22, 2025
Merged

[pull] androidx-main from androidx:androidx-main#506
pull[bot] merged 41 commits intowarting:androidx-mainfrom
androidx:androidx-main

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Sep 22, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Daniel Kim and others added 30 commits September 16, 2025 21:57
Add missing impl to support credential transfer for O or lower. The impl
is unblocked by using aggregation of signatures instead of SigningInfo
to form the CallingAppInfo.

Test: unit tests
Change-Id: I74e4856aa9de9a5c5b9185242fe661cfc796809d
We could copy out Lint's logic to map preview SDKs to compile SDKs, but
we already know that logic is flawed (see b/444447002#comment6) and there
is a better-than-decent chance externally that a preview SDK is a "new"
SDK and therefore at least 36, and there is a 100% chance within Jetpack.

Fixes: 445924414
Test: ./gradlew :core:core:compileReleaseAidlApi using preview SDK
Change-Id: I73c0428336f0e854d964bead14be53763952d86e
The extension functions withReadTransaction() and withWriteTransaction() are useful for operation that are to be completely made within a transaction. The two functions use the recommended transaction types when reading and writing.

This change also makes Room's OptIn ExperimentalRoomApi common, since it was Android only.

Also migrates InvalidationTrackerFlowTest to use driver APIs.

Bug: 438041176
Test: InvalidationTrackerFlowTest
Relnote: Add shortcut functions withReadTransaction() and withWriteTransaction() for starting a read or write transactions with driver APIs.
Change-Id: Ief0e5d2004701424774abc7e74a4fd945426caeb
Also update GEMINI.md to specify how to format multiple files.

Bug: 438041176
Test: ItemWithNullableConstructor
Change-Id: Ide52287443949923d06c78d9f40cbf78fcacce3e
Bug: 438041176
Test: JvmNameInDaoTest
Change-Id: I08836d3337852e096eab2956702a1942f257e814
- Added APIs to PdfView and PdfViewer(Compose)
  which allows developers to choose the page alignment
  when the content height < viewport height.
- Page Alignment is kept center by default which corresponds
  to current behavior.

Bug: 438065228
Test: Local
Change-Id: I9c9a55df56046dcfadd51efbf658d3ba69e563a0
Also migrate assertions to Kruth from Hamcrest

Bug: 438041176
Test: LiveDataQueryTest
Change-Id: I61bd79ff3bc8cd2a54d963f3939db70a13a3ce5c
Bug: 438041176
Test: MissingMasterTableTest
Change-Id: I7a1901dec3711b250a60f06d18fe8cc186e7e072
## Proposed Changes

This PR removes some outdated SDK version checks in `room` following the bump of the min SDK version to 23.

## Testing

Test: The `AndroidX Presubmits / build-modules (ubuntu-latest, room)` check on GitHub is successful.

This is an imported pull request from #813.

Resolves #813
Github-Pr-Head-Sha: 16c3640
GitOrigin-RevId: 6e7dd92
Change-Id: Ib7d9a3bc35d15eadb0747dd7117c48846905dce6
… file and preserve git history.

Test: presubmit
Bug: 438756192

Change-Id: I7a653991e74d0a6a9fbfe7afa8b297d641194e01
Add @JvmName and @JvmMultifileClass to the androidMain
RememberNavBackStack file.

While navigation3 is Kotlin-only, this ensures the
generated JVM class name matches what a commonMain
file would produce.

This ensures future binary compatibility on the JVM.
If this function is later refactored (e.g., moved to
`common`), this annotation prevents a breaking change
for existing compiled Kotlin code.

While such a refactor is not currently planned, this
change keeps that option open.

RelNote: N/A

Bug: N/A
Test: N/A
Change-Id: I525c034b55ffaaf3d84791111618d722a83326e0
The NavigationEventDispatcher parameter on
NavigationEventProcessor.removeInput was unused.

This commit removes the parameter from the method
signature and updates the call sites in
NavigationEventDispatcher.

RelNote: N/A

Bug: N/A
Test: existing passes
Change-Id: Ib7305046107856b70baff61eb2484cc7898f5166
## Proposed Changes

This PR removes some outdated SDK version checks in `work` following the bump of the min SDK version to 23.

## Testing

Test: The `AndroidX Presubmits / build-modules (ubuntu-latest, work)` check on GitHub has the same status as on the `androidx-main` branch.

This is an imported pull request from #816.

Resolves #816
Github-Pr-Head-Sha: 9cf1a40
GitOrigin-RevId: 7b149d7
Change-Id: Ic61300b67d93d211e7cdabfe2160c2789753b0c1
Inteface was introduced to help override the schema definition. This
functionality is no longer useful.

Bug: 446655647
Test: ./appfunctions/local_tests.sh
Change-Id: Iad7d997a8c145ebeebe076113f0e0d6bef8f77b8
## Proposed Changes

This PR removes some outdated SDK version checks in `sqlite` following the bump of the min SDK version to 23.

## Testing

Test: The `AndroidX Presubmits / build-modules (ubuntu-latest, sqlite)` check on GitHub is successful.

This is an imported pull request from #814.

Resolves #814
Github-Pr-Head-Sha: 5dc55ae
GitOrigin-RevId: 65a4718
Change-Id: Iacebc10ecb4ea9b59bf3b43f408052de98d7bebf
Address API council feedback:
* Prefer degrees in angle-related API
* Prefer passing stock brush versions as a factory function parameter
  instead of having that in the function names in StockBrushes API

Add last functionality required by clients:
* Allow controlling stock brush highlighter self-overlap behavior
  (required for PDF)

Update :pdf:pdf-ink to account for these API changes. Have that depend
on Ink from head until we finalize API and cut a beta release.

Test: Presubmit
Relnote: Change angle-related API to use degrees and include unit in names, be clear about units in Angle conversion utilities and support both degrees and radians, change StockBrushes API to take stock brush version as a factory function parameter and expose self-overlap behavior control for highlighter brushes, rename MutableAffineTransform.populateFromTranslate to populateFromTranslation, remove InProgressStrokesView.setRenderFactory/getRenderFactory.
Change-Id: Id9eab6301d2ca1803452cd8a1eb2dcf0a3cd357d
Bug: 436656418
* changes:
  Use driver APIs in LiveDataQueryTest
  Use driver APIs in JvmNameInDaoTest
The RemoteColor tween function was using `idProvider()` on the `from` and `to` colors instead of their `getIdForCreationState(creationState)` function. This meant that if a color had a non-constant value (i.e. was backed by a lambda that creates a color in the `creationState`), the `idProvider()` would be called multiple times.

This change fixes that by calling `getIdForCreationState` for the `from` and `to` colors. This ensures that the color is created in the `creationState` if it hasn't been already, and then returns the correct ID.

A new test `tweenTwice` is added to verify that when a non-constant color is used multiple times in tweens, its creation lambda is only invoked once.

Test: tweenTwice
Change-Id: Ida7ccce0177a34df10a8bb886426cc63964abd64
…ciated with the provider service.

Specifying id will only be allowed in the to-be-added push update (for SDK >= 37)

Relnote: GlanceWearWidget.triggerUpdate to trigger update for all widgets associated with the provider service.
Bug: 441974125
Test: existing
Change-Id: Iee9afca09b679b664f531b5a454f08c562a55789
Matthew Watson and others added 11 commits September 22, 2025 17:21
Test: gradlew build xr:compose:material3 libraries.
Change-Id: I395184cbded156976b1487b29ec9dc81b0fcd285
…to copy file and preserve git history." into androidx-main
…ts associated with the provider service." into androidx-main
Test: N/A
Change-Id: I8175a1525165e821b1b5b1f5b4e4a1bef6cabae7
This test will fail on the current implementation (as it tests both hierarchy and modifier bugs) and pass after the fix is applied.
This will prove the upcoming fix and guard against future regression in pose accumulation math.

Bug: 446060826
Test: test app added and tested. Right now, the test app will fail to show the expected and correct behavior. See go/compose-xr:critical-pose-fix.
Change-Id: I258674769d5371f31a94f0bf78ab39b6cb284ad7
@pull pull bot locked and limited conversation to collaborators Sep 22, 2025
@pull pull bot added the ⤵️ pull label Sep 22, 2025
@pull pull bot merged commit cf43c25 into warting:androidx-main Sep 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants