Skip to content

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

Merged
pull[bot] merged 10 commits into
MaxMood96:androidx-mainfrom
androidx:androidx-main
Jun 12, 2026
Merged

[pull] androidx-main from androidx:androidx-main#1180
pull[bot] merged 10 commits into
MaxMood96:androidx-mainfrom
androidx:androidx-main

Conversation

@pull

@pull pull Bot commented Jun 12, 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 : )

Kumar Ankit and others added 10 commits June 10, 2026 13:11
- Introduce a updateDisplayState API
  which is an atomic API encompassing
  PdfViewportState and annotations
- Remove the existing annotations and
  pageInfoProvider APIs
- Update PageInfoProvider API to a restricted
  class which is used in the fragment as well.
- Update AnnotationDisplayState to now hold the
  viewportState instead of transformationMatrices.
- Plug in the newly added APIs into
  EditablePdfViewerFragment and remove
  old implementation

Bug: 509749527
Test: Updating existing tests
Change-Id: I0ec8f0963e807a0c4a218020d680e0f68749ab72
Bug: 514082295
Test: Unit and Integration Tests
Change-Id: Ib4e222c9e9467d5b0bfd268f230f89e68e6a8108
- These tests will be ported to be used in PageInfoProvider
  getPageInfo function.

Bug: 509749527
Test: Local
Change-Id: I219816977562e6f7e317367cd415e9c042c4b4d3
This adds a new sample `SharedContentConfigDeferredTransitionSample`
demonstrating how `permitTransformDuringDeferredTransition` controls
whether shared elements transform in sync with their parent container
during a deferred transition (e.g., a Predictive Back gesture).

The sample shows a `DeferredAnimatedContent` setup with two shared
elements: one that scales/slides in sync with its container (typical
for card content or images) and one that remains static in place
(typical for shared bottom navigation bars or persistent headers).

Test: build
Fixes: 522389461
Change-Id: Icdd3cb3eddd3c4f4cc0f08322b06d5c60d94b1ac
Updates the advanced CameraXViewfinder overload in camera-compose to
accept a non-nullable ImageCapture.ScreenFlash callback, and adds
a general onRelease callback to clean up references.

Key changes:
- Hoisted screenFlash to the root of CameraXViewfinder.
- Updated onScreenFlashReady to accept non-nullable ScreenFlash.
- Added onRelease callback parameter.
- Wrapped screen flash callbacks in rememberUpdatedState, and dynamically
  read the onRelease callback at disposal time to prevent capturing
  stale values while bypassing Compose lint constraints.
- Restored missing TODO comment.

Bug: 522570631
Test: ./gradlew 📷camera-compose:assembleAndroidTest
Change-Id: Ie5f9bb5f480410095a8c12d98f7232de242efd5f
Verifies that input injection works correctly when using DeviceConfigurationOverride (ForcedSize and WindowSize).

Added tests to DeviceConfigurationOverrideTest covering:

- Touch
- Mouse & Trackpad
- Key
- Indirect Pointer

Test: DeviceConfigurationOverrideTest
Fixes: 350958766
Change-Id: I222ac0683776e0c25fd72c2813d6d4381ec75c8a
…main

* changes:
  Refactor: Remove unused class PageTransformCalculator
  Add new tests and fix failing tests after updating APIs
  Refactor: Update APIs at AnnotationView
@pull pull Bot locked and limited conversation to collaborators Jun 12, 2026
@pull pull Bot added the ⤵️ pull label Jun 12, 2026
@pull pull Bot merged commit cc0a5f5 into MaxMood96:androidx-main Jun 12, 2026
2 of 3 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.

2 participants