Skip to content

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

Merged
pull[bot] merged 28 commits into
MaxMood96:androidx-mainfrom
androidx:androidx-main
Jul 23, 2026
Merged

[pull] androidx-main from androidx:androidx-main#1302
pull[bot] merged 28 commits into
MaxMood96:androidx-mainfrom
androidx:androidx-main

Conversation

@pull

@pull pull Bot commented Jul 23, 2026

Copy link
Copy Markdown

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 : )

tytytywww and others added 14 commits July 7, 2026 12:32
Bug: 448659770
Test: AppSearchStatsTest
Change-Id: I55e7e9a2c6e009df7675fecd89213df4de067da2
…lexBox

- FlexBox forced fixed measurement constraints on children based on pre-calculated flex sizes, rendering standard fill modifiers like Modifier.fillMaxWidth() ineffective. This change propagates main-axis fill fractions to parent data and maps them directly to the item's grow factor, allowing standard fill modifiers to expand as expected.

Test: ./gradlew :compose:foundation:foundation-layout:connectedAndroidDeviceTest -Pandroid.testInstrumentationRunnerArguments.class=androidx.compose.foundation.layout.FlexBoxDirectionTest
Relnote: "Fixed an issue where standard layout modifiers like `Modifier.fillMaxWidth()` and `Modifier.fillMaxHeight()` had no effect on items inside `FlexBox` unless an explicit flex grow factor was specified."
Fixes: 515657458
Change-Id: Ib0ac33b93b74242bde3a0597446aafe9fe1649ca
This change fixes focus traversal for FlexBox by ensuring items are ordered correctly during main and cross axis placement so that traversal follows their visual order rather than their composition order. Specifically, the traversal now correctly accounts for reverse main axis (e.g. RowReverse), reverse cross axis (WrapReverse), and custom item order configurations.

Test: FlexBoxDirectionTest.kt, FlexBoxTest.kt
Relnote: "Fixed an issue in `FlexBox` where focus traversal did not match the visual order of items when using reverse directions, reverse wrap, or custom item order."
Fixes: 521609263
Change-Id: I4cc617babd013201e187fdc287b82991b470828b
Current limit for ConstraintManager.CONTENT_LIMIT_TYPE_PANE is 1000, which overloads the IPC and crashes an app. As PaneTemplate itself is legacy and there was no user reports about it there is no point in introducing major API changes and possibly breaking current use cases

Test: ./gradlew 🚗app:app:test
Test: ./gradlew 🚗app:app-samples:showcase-mobile:assembleDebug

Change-Id: I2c3c01ec2563732dca83bbce71a6efc39eb74775
Move stats collection to a separate post-expansion pass to avoid double counting bitmaps that are present before expansion, and correctly count bitmaps introduced during expansion.

Add a unit test to verify that bitmap memory is not double-counted.

Bug: 536846807
TAG=agy
CONV=84851bca-3a1f-4f6b-8d7a-f04fbf06ae2a
Change-Id: I0ab7713f6d450c172f31d249382e440301253e79
An upcoming update of our docs tool will start warning on unresolved links in javadoc. This updates an incorrectly formatted section in the mediarouter javadoc.

Bug: 527069050
Test: Checked `./gradlew :docs-tip-of-tree:docs` warning output with pending dackka build
Change-Id: Iea5fc9bf00426224ccf5a81d8144594b8f4753d6
Avoid resetting test latches in buildUseCases to prevent overwriting latches that tests are waiting on. This was exposed by the delayed initialization introduced in c9a45e7.

Bug: 537926527
Test: BasicUITest

Change-Id: Ifb0dea74982ba854f96f39e4cd9688efe47aa490
- Added `@ExperimentalPdfApi` to newly introduced APIs, including `EditablePdfViewerFragment`, `AnnotationsView`, `AnnotationToolbar`, `OcrProvider`, and `TextBoundsProvider`.
- Added `@OptIn(ExperimentalPdfApi::class)` to internal usages, view models, and tests utilizing these experimental APIs.

Relnote: "Added `@ExperimentalPdfApi` which is `RequireOptIn` Annotation to new APIs `EditablePdfViewerFragment`, `AnnotationsView`, `AnnotationToolbar`, `OcrProvider`, and `TextBoundsProvider` "
Bug: 534825508
Test: ./gradlew :pdf:pdf-viewer:compileReleaseAndroidTestKotlin
Change-Id: I83a93af8e61287e354271386c8778ba4e557e83e
@pull pull Bot locked and limited conversation to collaborators Jul 23, 2026
@pull pull Bot added the ⤵️ pull label Jul 23, 2026
Aadish Goel and others added 14 commits July 23, 2026 01:53
This change introduces a new API, PdfDocument.addPageObject, which allows for the embedding of PdfObject instances directly onto a page.
The initial implementation supports ImagePdfObject, which is used to add bitmap-based signatures to a document. The API is integrated through the EditableDocumentViewModel to handle the saving of signature drafts.
This change adds the necessary infrastructure from the pdf-core interface down to the pdf-document-service implementation to support this functionality.

Bug: 525287461
Test: ./gradlew :pdf:pdf-document-service:assemble
Change-Id: If174f18b9ed79e1385706b26fde21217f7b10db9
Expose the arithmetic and comparison operations of RemoteDp publicly,
updating the API signature files.

Test: ./gradlew :compose:remote:remote-creation-compose:testReleaseUnitTest --tests "androidx.compose.remote.creation.compose.state.RemoteDpTest"
Relnote: "Added arithmetic and comparison operations to `RemoteDp`."
Fixes: 467023174
TAG=agy
CONV=df9f6290-1836-4abd-b6c8-756fbe15d5b8

Change-Id: I4b7124d5e9a18fb48847028cbd28771c7b715976
Replace low-level nativeCanvas usages with idiomatic Compose DrawScope extensions where possible.

- Use DrawScope.drawText instead of nativeCanvas.drawText in DrawText op when TextMeasurer is available.
- Refactor DrawBitmapFontText path branch to use DrawScope.drawImage with withTransform and Matrix instead of canvas.drawBitmap and android.graphics.Matrix.
- Use Compose custom matrix transform for MatrixSkew.
- Fallbacks to nativeCanvas remain for complex text path layout.

Test: ./gradlew :compose:remote:integration-tests:player-compose-embedded:assemble
Relnote: N/A
Change-Id: I3a421c68d15723f12f941a49bb8fa75c59c5d7f3
This CL introduces a `cacheWindow` argument into the
`Lazy[Orientation]StaggeredGrid` composables that let the user specify a
cache window for the lazy staggered grid layout.

The majority of the work in this CL is implementing the layout-specific
cache window logic for lazy staggered grid.

We also introduce a compose flag to allow users to revert back to the
previous prefetch behaviour.

Test: Unit tests added for staggered grid cache window
Change-Id: I1c70d5a1df9d903c161ea016fd86cf32c9cd2481
Relnote: Adds a cache window to lazy staggered grid layout. To revert to the old prefetch behaviour, set `isUsingCacheWindowInStaggeredGrids` to false.
Added @OptIn(ExperimentalPdfApi::class) to addPageObject API.

Test: None
Change-Id: I5991c2a80c861c05f7d1f371f161a898e0b6f3b5
Updating signature model to store coordinates and size of the signature in PDF points instead of percentages and dp.

Test: None
Change-Id: Ieda3e39d7c634cf684af721d64aec0650a176c7d
@pull
pull Bot merged commit f7c58f9 into MaxMood96:androidx-main Jul 23, 2026
4 checks passed
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.

4 participants