Skip to content

android: Remove constructor for XML layouts - #47491

Merged
jdm merged 1 commit into
servo:mainfrom
veyndan:rm-constructor-attrset
Aug 24, 2026
Merged

jdm merged 1 commit into
servo:mainfrom
veyndan:rm-constructor-attrset

Conversation

@veyndan

@veyndan veyndan commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

The constructor with the AttributeSet argument is needed for XML layouts. Since we're moving towards a Compose UI layout per #33742, we don't need this constructor any more, and removing it makes it explicit that this is no longer supported.

Testing: There are no automated tests for Android.
Fixes: Part of #33742.

Signed-off-by: veyndan <veyndan@gmail.com>
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Aug 24, 2026
@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Aug 24, 2026
@jdm
jdm enabled auto-merge August 24, 2026 19:02
@jdm
jdm added this pull request to the merge queue Aug 24, 2026
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Aug 24, 2026
Merged via the queue into servo:main with commit 201c460 Aug 24, 2026
36 checks passed
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Aug 24, 2026
@veyndan
veyndan deleted the rm-constructor-attrset branch August 24, 2026 19:53
RichardTjokroutomo pushed a commit to RichardTjokroutomo/servo that referenced this pull request Oct 6, 2026
The constructor with the `AttributeSet` argument is needed for XML
layouts. Since we're moving towards a Compose UI layout per servo#33742, we
don't need this constructor any more, and removing it makes it explicit
that this is no longer supported.

Testing: There are no automated tests for Android.
Fixes: Part of servo#33742.

Signed-off-by: veyndan <veyndan@gmail.com>
Psychpsyo pushed a commit to Psychpsyo/servo that referenced this pull request Oct 12, 2026
The constructor with the `AttributeSet` argument is needed for XML
layouts. Since we're moving towards a Compose UI layout per servo#33742, we
don't need this constructor any more, and removing it makes it explicit
that this is no longer supported.

Testing: There are no automated tests for Android.
Fixes: Part of servo#33742.

Signed-off-by: veyndan <veyndan@gmail.com>
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