Skip to content

Update Android Components to 20260518093736 and handle breaking changes#4307

Merged
jonalmeida merged 1 commit into
mozilla-mobile:masterfrom
Mugurell:20260518093736_update
May 18, 2026
Merged

Update Android Components to 20260518093736 and handle breaking changes#4307
jonalmeida merged 1 commit into
mozilla-mobile:masterfrom
Mugurell:20260518093736_update

Conversation

@Mugurell
Copy link
Copy Markdown
Contributor

This supersedes #4306

android:layout_height="wrap_content"
android:layout_gravity="end|bottom"
android:src="@drawable/mozac_ic_font"
android:src="@drawable/mozac_ic_reader_view_24"
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

android:text="@string/mozac_feature_addons_settings"
android:textSize="18sp"
app:drawableStartCompat="@drawable/mozac_ic_preferences"
app:drawableStartCompat="@drawable/mozac_ic_settings_24"
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

icon = DrawableMenuIcon(
context,
mozilla.components.ui.icons.R.drawable.mozac_ic_stop,
mozilla.components.ui.icons.R.drawable.mozac_ic_cross_24,
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.collect { promptRequest ->
when (promptRequest) {
is WebExtensionPromptRequest.AfterInstallation -> {
if (promptRequest is WebExtensionPromptRequest.AfterInstallation) {
Copy link
Copy Markdown
Contributor Author

@Mugurell Mugurell May 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replaced the exhaustive when check with a simpler if check here
Since there is no immediate plan to support WebExtensionPromptRequest.InstallationRequested in RB also.

Future WebExtensionPromptRequest changes will need to be handled in the below handlePermissions so new changes will require thinking about how to handle them in RB so this change will not lead to ignoring all future updates.

Copy link
Copy Markdown
Contributor Author

@Mugurell Mugurell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added some extra details.

@Mugurell Mugurell force-pushed the 20260518093736_update branch from 4838817 to affec55 Compare May 18, 2026 17:54
@rvandermeulen rvandermeulen added the needs landing Auto lands approved and green PRs. label May 18, 2026
@mergify mergify Bot added the queued label May 18, 2026
@mergify
Copy link
Copy Markdown

mergify Bot commented May 18, 2026

Merge Queue Status

  • Entered queue2026-05-18 18:25 UTC · Rule: default
  • Checks skipped · PR is already up-to-date
  • Merged2026-05-18 18:26 UTC · at affec55898c59deee345acceb1fa5a7c531b2019 · rebase

This pull request spent 27 seconds in the queue, including 5 seconds running CI.

Required conditions to merge
  • status-success=pr-complete

@jonalmeida jonalmeida merged commit f6562ef into mozilla-mobile:master May 18, 2026
14 of 15 checks passed
@mergify mergify Bot removed the queued label May 18, 2026
@Mugurell Mugurell deleted the 20260518093736_update branch May 19, 2026 06:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs landing Auto lands approved and green PRs.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants