feat: Add Firefox Beta and Nightly search providers (#7280)

Add QSB search provider entries for Firefox Beta
(org.mozilla.firefox_beta) and Firefox Nightly
(org.mozilla.fenix) so they can be selected in the
search bar configuration, matching existing Firefox-family
providers.

Closes #6439

Co-authored-by: wized2 <code@canvas.app>
This commit is contained in:
Mudsir Wazirandwized2 authored and GitHub committed 2026-09-13 20:27:41 +07:00
1 parent d2d1775131
commit 5dc7fef987
4 files changed
+52

No files matched your search

+2
View File
@@ -842,6 +842,8 @@
<string name="search_provider_yandex" translatable="false">Yandex</string>
<string name="search_provider_fennec" translatable="false">Fennec</string>
<string name="search_provider_firefox" translatable="false">Firefox</string>
<string name="search_provider_firefox_beta" translatable="false">Firefox Beta</string>
<string name="search_provider_firefox_nightly" translatable="false">Firefox Nightly</string>
<string name="search_provider_iceraven" translatable="false">Iceraven</string>
<string name="search_provider_ironfox" translatable="false">IronFox</string>
<string name="search_provider_waterfox" translatable="false">Waterfox</string>
@@ -0,0 +1,24 @@
package app.lawnchair.qsb.providers
import android.content.Intent
import app.lawnchair.qsb.ThemingMethod
import com.android.launcher3.R
data object FirefoxBeta : QsbSearchProvider(
id = "FirefoxBeta",
name = R.string.search_provider_firefox_beta,
icon = R.drawable.ic_firefox,
themedIcon = R.drawable.ic_firefox_tinted,
themingMethod = ThemingMethod.TINT,
packageName = "org.mozilla.firefox_beta",
action = "org.mozilla.fenix.OPEN_TAB",
className = "org.mozilla.fenix.IntentReceiverActivity",
website = "https://play.google.com/store/apps/details?id=org.mozilla.firefox_beta",
type = QsbSearchProviderType.APP,
supportVoiceIntent = false,
) {
override fun handleCreateVoiceIntent(): Intent = Intent(action)
.addFlags(INTENT_FLAGS)
.setClassName(packageName, "org.chromium.chrome.browser.VoiceSearchActivity")
}
@@ -0,0 +1,24 @@
package app.lawnchair.qsb.providers
import android.content.Intent
import app.lawnchair.qsb.ThemingMethod
import com.android.launcher3.R
data object FirefoxNightly : QsbSearchProvider(
id = "FirefoxNightly",
name = R.string.search_provider_firefox_nightly,
icon = R.drawable.ic_firefox,
themedIcon = R.drawable.ic_firefox_tinted,
themingMethod = ThemingMethod.TINT,
packageName = "org.mozilla.fenix",
action = "org.mozilla.fenix.OPEN_TAB",
className = "org.mozilla.fenix.IntentReceiverActivity",
website = "https://play.google.com/store/apps/details?id=org.mozilla.fenix",
type = QsbSearchProviderType.APP,
supportVoiceIntent = false,
) {
override fun handleCreateVoiceIntent(): Intent = Intent(action)
.addFlags(INTENT_FLAGS)
.setClassName(packageName, "org.chromium.chrome.browser.VoiceSearchActivity")
}
@@ -135,6 +135,8 @@ sealed class QsbSearchProvider(
Yandex,
Fennec,
Firefox,
FirefoxBeta,
FirefoxNightly,
Iceraven,
Startpage,
StartpageEU,