Skip to content

android: Remove unused code - #45712

Merged
TimvdLippe merged 1 commit into
servo:mainfrom
veyndan:rm-unused-code
Jun 15, 2026
Merged

android: Remove unused code#45712
TimvdLippe merged 1 commit into
servo:mainfrom
veyndan:rm-unused-code

Conversation

@veyndan

@veyndan veyndan commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

To aid with the migration of these classes to Kotlin (see #45640), this commit removes unused code from these classes so they don't have to be translated.

Even though takeScreenShotOfWebPage was deliberately unused, it's unclear if we'd ever want to use this in the future nor if it'd take this form (e.g., we migrate to Compose UI). Since it's all saved in the git history anyway, we can safely remove it and retrieve it again if we want.

Testing: There are no automated tests for Android.

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 Jun 15, 2026
@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Jun 15, 2026
@TimvdLippe
TimvdLippe added this pull request to the merge queue Jun 15, 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 Jun 15, 2026
Merged via the queue into servo:main with commit 55e2b3a Jun 15, 2026
34 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 Jun 15, 2026
@veyndan
veyndan deleted the rm-unused-code branch June 15, 2026 19:00
TG199 pushed a commit to TG199/servo that referenced this pull request Jun 21, 2026
To aid with the migration of these classes to Kotlin (see
servo#45640), this commit removes unused
code from these classes so they don't have to be translated.

Even though `takeScreenShotOfWebPage` was deliberately unused, it's
unclear if we'd ever want to use this in the future nor if it'd take
this form (e.g., we migrate to Compose UI). Since it's all saved in the
git history anyway, we can safely remove it and retrieve it again if we
want.

Testing: There are no automated tests for Android.

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