Skip to content

Conversation

@abelonogov-ld
Copy link
Contributor

@abelonogov-ld abelonogov-ld commented Dec 2, 2025

Summary

  • Support floating overlays, popups windows, splash windows
  • Improve decision when PixelCopy can and cannot be used.
image

How did you test this change?

Are there any deployment considerations?


Note

Add floating/attached dialog examples and switch capture logic to use WindowManager.LayoutParams with PixelCopy candidacy checks.

  • SDK:
    • WindowEntry: replace wmType with layoutParams; add isPixelCopyCandidate() (excludes non-activity, TYPE_APPLICATION_STARTING, and FLAG_SECURE).
    • CaptureSource: pick base window via layoutParams.type; use PixelCopy only when windowEntry.isPixelCopyCandidate().
    • WindowInspector: populate WindowEntry with layoutParams while preserving determineWindowType behavior.
    • Tests: add WindowEntryTest covering PixelCopy candidacy rules.
  • E2E app:
    • Add FloatingPopupView and buttons to show floating popup (TYPE_APPLICATION_PANEL) and attached dialog (TYPE_APPLICATION_ATTACHED_DIALOG).
    • Update activity_masking_bench.xml with new controls.

Written by Cursor Bugbot for commit 31bb519. This will update automatically on new commits. Configure here.

@abelonogov-ld abelonogov-ld requested a review from a team as a code owner December 2, 2025 16:26
@abelonogov-ld abelonogov-ld force-pushed the andrey/nonstandard-views branch from 664244c to b117d79 Compare December 2, 2025 17:38
@abelonogov-ld abelonogov-ld enabled auto-merge (squash) December 2, 2025 20:21
@abelonogov-ld abelonogov-ld merged commit 199374a into main Dec 2, 2025
22 checks passed
@abelonogov-ld abelonogov-ld deleted the andrey/nonstandard-views branch December 2, 2025 20:31
abelonogov-ld added a commit that referenced this pull request Dec 2, 2025
* main:
  feat: support non-standard windows added by WindowManager (#306)
abelonogov-ld added a commit that referenced this pull request Dec 2, 2025
* andrey/mask-collector:
  remove ressurectued import
  feat: support non-standard windows added by WindowManager (#306)
abelonogov-ld added a commit that referenced this pull request Dec 4, 2025
* main: (85 commits)
  doc: Add using ldMask in readme. (#311)
  chore: release main (#312)
  feat: take transformed coordinates, which are more precise in animation  (#309)
  chore: release main (#307)
  fix(SEC-7530): update react-server-dom-webpack to 19.0.1 (#310)
  feat: recursive mask collection (#308)
  feat: support non-standard windows added by WindowManager (#306)
  feat: Android SR Do not send duplicate screens (#304)
  test: Add UI and logic to evaluate boolean flags (#305)
  chore: release main (#303)
  feat: Android Dialog Capture (#302)
  chore: Update Android Test main screen (#301)
  chore: release main (#300)
  feat: XML Views Automasking options (#299)
  fix: missed imports (#298)
  chore: release main (#297)
  feat: Support ldMask() for Native and Compose views. (#295)
  chore: release main (#296)
  fix: tweaks Android InteractionDetector to delegate additional defaul… (#294)
  chore: release main (#293)
  ...

# Conflicts:
#	e2e/react-router/src/ldclientLazy.tsx
#	e2e/react-router/src/routes/root.tsx
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.

3 participants