Skip to content

[Infra][CQ][Harmony] Add clay-vs-native Harmony E2E pipelines and close-page hook#7518

Open
zhongyr wants to merge 1 commit into
developfrom
shadow/p/zhongyr/fix-android-mask-empty-bounds
Open

[Infra][CQ][Harmony] Add clay-vs-native Harmony E2E pipelines and close-page hook#7518
zhongyr wants to merge 1 commit into
developfrom
shadow/p/zhongyr/fix-android-mask-empty-bounds

Conversation

@zhongyr

@zhongyr zhongyr commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

- What changed
  Added size guards in UIView.afterDraw() and MaskDrawable.drawMask() so that
  mask-image rendering is skipped when the view or drawable bounds are empty.

- Why it was needed
  A mask-image view whose bounds were 0x0 could still reach canvas.saveLayer()
  with PorterDuff.Mode.DST_IN. In that state the empty mask layer produced
  incorrect clipping that caused sibling views (e.g. Toolbar) to disappear.

- How it was verified
  Verified on the affected page that the Toolbar and other sibling content now
  render correctly after the guard is applied.

TEST: Verified on device that the affected page renders correctly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant