LeOSium patches
parent
52b902effa
commit
e664137195
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,156 @@
|
||||||
|
Subject: [PATCH] name and icon
|
||||||
|
---
|
||||||
|
Index: app/build.gradle
|
||||||
|
IDEA additional info:
|
||||||
|
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
|
||||||
|
<+>UTF-8
|
||||||
|
===================================================================
|
||||||
|
diff --git a/app/build.gradle b/app/build.gradle
|
||||||
|
--- a/app/build.gradle (revision 4dca5f634ae61ddeead5fc3444c3ab692ad98536)
|
||||||
|
+++ b/app/build.gradle (revision 31c3e83236b2bd980d168f651af7a022b5e6a8b3)
|
||||||
|
@@ -31,7 +31,7 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
defaultConfig {
|
||||||
|
- applicationId "io.github.forkmaintainers"
|
||||||
|
+ applicationId "com.leos"
|
||||||
|
minSdkVersion config.minSdkVersion
|
||||||
|
compileSdk config.compileSdkVersion
|
||||||
|
targetSdkVersion config.targetSdkVersion
|
||||||
|
@@ -159,15 +159,15 @@
|
||||||
|
forkDebug {
|
||||||
|
shrinkResources false
|
||||||
|
minifyEnabled false
|
||||||
|
- applicationIdSuffix ".iceraven.debug"
|
||||||
|
+ applicationIdSuffix ".leosium.debug"
|
||||||
|
pseudoLocalesEnabled true
|
||||||
|
// Need to replicate default debug config features
|
||||||
|
signingConfig signingConfigs.debug
|
||||||
|
debuggable true
|
||||||
|
- def deepLinkSchemeValue = "iceraven-debug"
|
||||||
|
+ def deepLinkSchemeValue = "leosium-debug"
|
||||||
|
buildConfigField "String", "DEEP_LINK_SCHEME", "\"$deepLinkSchemeValue\""
|
||||||
|
manifestPlaceholders.putAll([
|
||||||
|
- "sharedUserId": "io.github.forkmaintainers.iceraven.sharedID",
|
||||||
|
+ "sharedUserId": "io.github.forkmaintainers.leosium.sharedID",
|
||||||
|
"deepLinkScheme": deepLinkSchemeValue,
|
||||||
|
])
|
||||||
|
// Use custom default allowed addon list
|
||||||
|
@@ -178,11 +178,11 @@
|
||||||
|
}
|
||||||
|
forkRelease releaseTemplate >> {
|
||||||
|
buildConfigField "boolean", "USE_RELEASE_VERSIONING", "true"
|
||||||
|
- applicationIdSuffix ".iceraven"
|
||||||
|
- def deepLinkSchemeValue = "iceraven"
|
||||||
|
+ applicationIdSuffix ".leosium"
|
||||||
|
+ def deepLinkSchemeValue = "leosium"
|
||||||
|
buildConfigField "String", "DEEP_LINK_SCHEME", "\"$deepLinkSchemeValue\""
|
||||||
|
manifestPlaceholders.putAll([
|
||||||
|
- "sharedUserId": "io.github.forkmaintainers.iceraven.sharedID",
|
||||||
|
+ "sharedUserId": "io.github.forkmaintainers.leosium.sharedID",
|
||||||
|
"deepLinkScheme": deepLinkSchemeValue,
|
||||||
|
])
|
||||||
|
// Use custom default allowed addon list
|
||||||
|
Index: app/src/forkRelease/res/values/static_strings.xml
|
||||||
|
IDEA additional info:
|
||||||
|
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
|
||||||
|
<+>UTF-8
|
||||||
|
===================================================================
|
||||||
|
diff --git a/app/src/forkRelease/res/values/static_strings.xml b/app/src/forkRelease/res/values/static_strings.xml
|
||||||
|
--- a/app/src/forkRelease/res/values/static_strings.xml (revision 4dca5f634ae61ddeead5fc3444c3ab692ad98536)
|
||||||
|
+++ b/app/src/forkRelease/res/values/static_strings.xml (revision 31c3e83236b2bd980d168f651af7a022b5e6a8b3)
|
||||||
|
@@ -4,5 +4,5 @@
|
||||||
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
||||||
|
<resources>
|
||||||
|
<!-- Name of the application -->
|
||||||
|
- <string name="app_name" translatable="false">Iceraven</string>
|
||||||
|
+ <string name="app_name" translatable="false">LeOSium</string>
|
||||||
|
</resources>
|
||||||
|
Index: app/src/main/java/org/mozilla/fenix/settings/quicksettings/protections/cookiebanners/dialog/CookieBannerReEngagementDialogCompose.kt
|
||||||
|
IDEA additional info:
|
||||||
|
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
|
||||||
|
<+>UTF-8
|
||||||
|
===================================================================
|
||||||
|
diff --git a/app/src/main/java/org/mozilla/fenix/settings/quicksettings/protections/cookiebanners/dialog/CookieBannerReEngagementDialogCompose.kt b/app/src/main/java/org/mozilla/fenix/settings/quicksettings/protections/cookiebanners/dialog/CookieBannerReEngagementDialogCompose.kt
|
||||||
|
--- a/app/src/main/java/org/mozilla/fenix/settings/quicksettings/protections/cookiebanners/dialog/CookieBannerReEngagementDialogCompose.kt (revision 4dca5f634ae61ddeead5fc3444c3ab692ad98536)
|
||||||
|
+++ b/app/src/main/java/org/mozilla/fenix/settings/quicksettings/protections/cookiebanners/dialog/CookieBannerReEngagementDialogCompose.kt (revision 31c3e83236b2bd980d168f651af7a022b5e6a8b3)
|
||||||
|
@@ -42,7 +42,7 @@
|
||||||
|
private fun CookieBannerReEngagementDialogComposePreview() {
|
||||||
|
FirefoxTheme {
|
||||||
|
CookieBannerReEngagementDialogCompose(
|
||||||
|
- dialogTitle = "Allow Iceraven to reject cookie banners?",
|
||||||
|
+ dialogTitle = "Allow LeOSium to reject cookie banners?",
|
||||||
|
dialogText =
|
||||||
|
"Automatically reject cookie requests, when possible. Otherwise, " +
|
||||||
|
"accept all cookies to dismiss cookie banners.",
|
||||||
|
Index: app/src/main/res/values/static_strings.xml
|
||||||
|
IDEA additional info:
|
||||||
|
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
|
||||||
|
<+>UTF-8
|
||||||
|
===================================================================
|
||||||
|
diff --git a/app/src/main/res/values/static_strings.xml b/app/src/main/res/values/static_strings.xml
|
||||||
|
--- a/app/src/main/res/values/static_strings.xml (revision 4dca5f634ae61ddeead5fc3444c3ab692ad98536)
|
||||||
|
+++ b/app/src/main/res/values/static_strings.xml (revision 31c3e83236b2bd980d168f651af7a022b5e6a8b3)
|
||||||
|
@@ -4,8 +4,8 @@
|
||||||
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
||||||
|
<resources>
|
||||||
|
<!-- Name of the application -->
|
||||||
|
- <string name="app_name" translatable="false">Iceraven Fenix</string>
|
||||||
|
- <string name="firefox" translatable="false">Iceraven</string>
|
||||||
|
+ <string name="app_name" translatable="false">LeOSium</string>
|
||||||
|
+ <string name="firefox" translatable="false">LeOSium</string>
|
||||||
|
|
||||||
|
<!-- Preference for developers -->
|
||||||
|
<string name="preference_leakcanary" translatable="false">LeakCanary</string>
|
||||||
|
@@ -21,7 +21,7 @@
|
||||||
|
<!-- Default title for pinned Wikipedia top site that links to Wikipedia home page -->
|
||||||
|
<string name="default_top_site_wikipedia" translatable="false">Wikipedia</string>
|
||||||
|
<!-- Default title for pinned Google top site that links to Google home page -->
|
||||||
|
- <string name="default_top_site_google" translatable="false">Google</string>
|
||||||
|
+ <string name="default_top_site_google" translatable="false">Goolag</string>
|
||||||
|
<!-- Application Services abbreviation used in AboutFragment -->
|
||||||
|
<string name="app_services_abbreviation" translatable="false">AS</string>
|
||||||
|
<!-- Name for the Pocket product -->
|
||||||
|
@@ -59,17 +59,17 @@
|
||||||
|
<!-- Preference to override the Push server -->
|
||||||
|
<string name="preferences_override_push_server">Custom Push server</string>
|
||||||
|
<!-- Quit app button title for the Sync Debug preferences -->
|
||||||
|
- <string name="preferences_sync_debug_quit_button_title">Stop Firefox</string>
|
||||||
|
+ <string name="preferences_sync_debug_quit_button_title">Stop LeOSium</string>
|
||||||
|
<!-- Quit app button summary for the Sync Debug preferences -->
|
||||||
|
- <string name="preferences_sync_debug_quit_button_summary">Custom server changes will take effect on the next Firefox run.</string>
|
||||||
|
+ <string name="preferences_sync_debug_quit_button_summary">Custom server changes will take effect on the next LeOSium run.</string>
|
||||||
|
<!-- Label for enabling the Tabs Tray to Compose changes -->
|
||||||
|
<string name="preferences_debug_settings_tabs_tray_to_compose" translatable="false">Enable Tabs Tray to Compose rewrite</string>
|
||||||
|
<!-- Label for enabling the Compose Top Sites -->
|
||||||
|
<string name="preferences_debug_settings_compose_top_sites" translatable="false">Enable Compose Top Sites</string>
|
||||||
|
<!-- Label for enabling translations -->
|
||||||
|
- <string name="preferences_debug_settings_translations" translatable="false">Enable Firefox Translations</string>
|
||||||
|
+ <string name="preferences_debug_settings_translations" translatable="false">Enable LeOSium Translations</string>
|
||||||
|
<!-- Label for enabling Firefox Suggest -->
|
||||||
|
- <string name="preferences_debug_settings_fxsuggest" translatable="false">Enable Firefox Suggest</string>
|
||||||
|
+ <string name="preferences_debug_settings_fxsuggest" translatable="false">Enable LeOSium Suggest</string>
|
||||||
|
|
||||||
|
<!-- A secret menu option in the tabs tray for making a tab inactive for testing. -->
|
||||||
|
<string name="inactive_tabs_menu_item">Make inactive</string>
|
||||||
|
@@ -86,15 +86,15 @@
|
||||||
|
<string name="profiler_stop">Stop Profiler</string>
|
||||||
|
|
||||||
|
<string name="profiler_settings_title">Profiler Settings</string>
|
||||||
|
- <string name="profiler_filter_firefox">Firefox</string>
|
||||||
|
+ <string name="profiler_filter_firefox">LeOSium</string>
|
||||||
|
<string name="profiler_running">Profiler is currently running</string>
|
||||||
|
- <string name="profiler_filter_firefox_explain">Recommended preset for profiling Firefox</string>
|
||||||
|
+ <string name="profiler_filter_firefox_explain">Recommended preset for profiling LeOSium</string>
|
||||||
|
<string name="profiler_filter_graphics">Graphics</string>
|
||||||
|
- <string name="profiler_filter_graphics_explain">Preset for investigating graphics bugs in Firefox</string>
|
||||||
|
+ <string name="profiler_filter_graphics_explain">Preset for investigating graphics bugs in LeOSium</string>
|
||||||
|
<string name="profiler_filter_media">Media</string>
|
||||||
|
- <string name="profiler_filter_media_explain">Preset for investigating audio and video bugs in Firefox</string>
|
||||||
|
+ <string name="profiler_filter_media_explain">Preset for investigating audio and video bugs in LeOSium</string>
|
||||||
|
<string name="profiler_filter_networking">Networking</string>
|
||||||
|
- <string name="profiler_filter_networking_explain">Preset for investigating networking bugs in Firefox</string>
|
||||||
|
+ <string name="profiler_filter_networking_explain">Preset for investigating networking bugs in LeOSium</string>
|
||||||
|
|
||||||
|
<string name="profiler_start_dialog_started">Profiler started</string>
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,75 @@
|
||||||
|
Subject: [PATCH] Homescreen Name change LeOSium
|
||||||
|
---
|
||||||
|
Index: app/src/main/res/values/strings.xml
|
||||||
|
IDEA additional info:
|
||||||
|
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
|
||||||
|
<+>UTF-8
|
||||||
|
===================================================================
|
||||||
|
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
|
||||||
|
--- a/app/src/main/res/values/strings.xml (revision eadb87d91b869ff759556dafdc6c7388ddcdbab0)
|
||||||
|
+++ b/app/src/main/res/values/strings.xml (revision 46413d074bd41596719d59a4779eaf591f84af41)
|
||||||
|
@@ -301,7 +301,7 @@
|
||||||
|
<!-- Notification pre-permission dialog -->
|
||||||
|
<!-- Enable notification pre permission dialog title
|
||||||
|
The first parameter is the name of the app defined in app_name (for example: Fenix) -->
|
||||||
|
- <string name="onboarding_home_enable_notifications_title">Notifications help you do more with %s</string>
|
||||||
|
+ <string name="onboarding_home_enable_notifications_title">Notifications help you do more with LeOSium</string>
|
||||||
|
<!-- Enable notification pre permission dialog description with rationale
|
||||||
|
The first parameter is the name of the app defined in app_name (for example: Fenix) -->
|
||||||
|
<string name="onboarding_home_enable_notifications_description">Sync your tabs between devices, manage downloads, get tips about making the most of %s’s privacy protection, and more.</string>
|
||||||
|
@@ -346,13 +346,13 @@
|
||||||
|
<string name="juno_onboarding_enable_notifications_title_nimbus" moz:removedIn="120" tools:ignore="UnusedResources">Notifications help you do more with LeOSium</string>
|
||||||
|
<!-- Title for enable notification permission screen used by Nimbus experiments. Nimbus experiments do not support string placeholders.
|
||||||
|
Note: The word "LeOSium" should NOT be translated -->
|
||||||
|
- <string name="juno_onboarding_enable_notifications_title_nimbus_2">Notifications help you stay safer with Firefox</string>
|
||||||
|
+ <string name="juno_onboarding_enable_notifications_title_nimbus_2">Notifications help you stay safer with LeOSium</string>
|
||||||
|
<!-- Description for enable notification permission screen used by Nimbus experiments. Nimbus experiments do not support string placeholders.
|
||||||
|
Note: The word "Firefox" should NOT be translated -->
|
||||||
|
<string name="juno_onboarding_enable_notifications_description_nimbus" moz:removedIn="120" tools:ignore="UnusedResources">Send tabs between devices, manage downloads, and get tips on getting the most out of LeOSium.</string>
|
||||||
|
<!-- Description for enable notification permission screen used by Nimbus experiments. Nimbus experiments do not support string placeholders.
|
||||||
|
Note: The word "Firefox" should NOT be translated -->
|
||||||
|
- <string name="juno_onboarding_enable_notifications_description_nimbus_2">Securely send tabs between your devices and discover other privacy features in Firefox.</string>
|
||||||
|
+ <string name="juno_onboarding_enable_notifications_description_nimbus_2">Securely send tabs between your devices and discover other privacy features in LeOSium.</string>
|
||||||
|
<!-- Text for the button to request notification permission on the device -->
|
||||||
|
<string name="juno_onboarding_enable_notifications_positive_button" tools:ignore="UnusedResources">Turn on notifications</string>
|
||||||
|
<!-- Text for the button dismiss the screen and move on with the flow -->
|
||||||
|
@@ -672,7 +672,7 @@
|
||||||
|
<!-- Title of the Nimbus message for add-ons general availability-->
|
||||||
|
<string name="addon_ga_message_title" tools:ignore="UnusedResources">New add-ons now available</string>
|
||||||
|
<!-- Body of the Nimbus message for add-ons general availability. 'Firefox' intentionally hardcoded here-->
|
||||||
|
- <string name="addon_ga_message_body" tools:ignore="UnusedResources">Check out 100+ new extensions that let you make Firefox your own.</string>
|
||||||
|
+ <string name="addon_ga_message_body" tools:ignore="UnusedResources">Check out 100+ new extensions that let you make LeOSium your own.</string>
|
||||||
|
<!-- Button text of the Nimbus message for add-ons general availability. -->
|
||||||
|
<string name="addon_ga_message_button" tools:ignore="UnusedResources">Explore add-ons</string>
|
||||||
|
|
||||||
|
@@ -738,7 +738,7 @@
|
||||||
|
<!-- Name of the "receive tabs" notification channel. Displayed in the "App notifications" system settings for the app -->
|
||||||
|
<string name="fxa_received_tab_channel_name">Received tabs</string>
|
||||||
|
<!-- Description of the "receive tabs" notification channel. Displayed in the "App notifications" system settings for the app -->
|
||||||
|
- <string name="fxa_received_tab_channel_description">Notifications for tabs received from other Firefox devices.</string>
|
||||||
|
+ <string name="fxa_received_tab_channel_description">Notifications for tabs received from other LeOSium devices.</string>
|
||||||
|
<!-- The body for these is the URL of the tab received -->
|
||||||
|
<string name="fxa_tab_received_notification_name">Tab Received</string>
|
||||||
|
<!-- %s is the device name -->
|
||||||
|
@@ -1302,10 +1302,10 @@
|
||||||
|
<string name="notification_marketing_channel_name">Marketing</string>
|
||||||
|
<!-- Title shown in the notification that pops up to remind the user to set fenix as default browser.
|
||||||
|
The app name is in the text, due to limitations with localizing Nimbus experiments -->
|
||||||
|
- <string name="nimbus_notification_default_browser_title" tools:ignore="UnusedResources">Firefox is fast and private</string>
|
||||||
|
+ <string name="nimbus_notification_default_browser_title" tools:ignore="UnusedResources">LeOSium is fast and private</string>
|
||||||
|
<!-- Text shown in the notification that pops up to remind the user to set fenix as default browser.
|
||||||
|
The app name is in the text, due to limitations with localizing Nimbus experiments -->
|
||||||
|
- <string name="nimbus_notification_default_browser_text" tools:ignore="UnusedResources">Make Firefox your default browser</string>
|
||||||
|
+ <string name="nimbus_notification_default_browser_text" tools:ignore="UnusedResources">Make LeOSium your default browser</string>
|
||||||
|
<!-- Title shown in the notification that pops up to re-engage the user -->
|
||||||
|
<string name="notification_re_engagement_title">Try private browsing</string>
|
||||||
|
<!-- Text shown in the notification that pops up to re-engage the user.
|
||||||
|
@@ -1324,7 +1324,7 @@
|
||||||
|
<!-- Survey -->
|
||||||
|
<!-- Text shown in the fullscreen message that pops up to ask user to take a short survey.
|
||||||
|
The app name is in the text, due to limitations with localizing Nimbus experiments -->
|
||||||
|
- <string name="nimbus_survey_message_text">Please help make Firefox better by taking a short survey.</string>
|
||||||
|
+ <string name="nimbus_survey_message_text">Please help make LeOSium better by taking a short survey.</string>
|
||||||
|
<!-- Preference for taking the short survey. -->
|
||||||
|
<string name="preferences_take_survey">Take Survey</string>
|
||||||
|
<!-- Preference for not taking the short survey. -->
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,40 @@
|
||||||
|
Subject: [PATCH] mull changes
|
||||||
|
---
|
||||||
|
Index: android-components
|
||||||
|
IDEA additional info:
|
||||||
|
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
|
||||||
|
<+>UTF-8
|
||||||
|
===================================================================
|
||||||
|
diff --git a/android-components b/android-components
|
||||||
|
--- a/android-components (revision 74a70efef04b9054656ee084aea0d719dda2bfad)
|
||||||
|
+++ b/android-components (revision 17814c1db3be943336f191ead73b1c08f67e8b56)
|
||||||
|
@@ -1,1 +1,1 @@
|
||||||
|
-c16aea836d4ca3525cdb7d571d264d6c8d49c609
|
||||||
|
\ No newline at end of file
|
||||||
|
+5956319a9bbae9daedd519fcd60f435e8ccbbe37
|
||||||
|
\ No newline at end of file
|
||||||
|
Index: app/src/main/java/org/mozilla/fenix/home/HomeMenu.kt
|
||||||
|
IDEA additional info:
|
||||||
|
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
|
||||||
|
<+>UTF-8
|
||||||
|
===================================================================
|
||||||
|
diff --git a/app/src/main/java/org/mozilla/fenix/home/HomeMenu.kt b/app/src/main/java/org/mozilla/fenix/home/HomeMenu.kt
|
||||||
|
--- a/app/src/main/java/org/mozilla/fenix/home/HomeMenu.kt (revision 74a70efef04b9054656ee084aea0d719dda2bfad)
|
||||||
|
+++ b/app/src/main/java/org/mozilla/fenix/home/HomeMenu.kt (revision 17814c1db3be943336f191ead73b1c08f67e8b56)
|
||||||
|
@@ -116,7 +116,6 @@
|
||||||
|
|
||||||
|
@Suppress("ComplexMethod")
|
||||||
|
private fun coreMenuItems(): List<BrowserMenuItem> {
|
||||||
|
- val settings = context.components.settings
|
||||||
|
|
||||||
|
val bookmarksItem = BrowserMenuImageText(
|
||||||
|
context.getString(R.string.library_bookmarks),
|
||||||
|
@@ -228,7 +227,7 @@
|
||||||
|
helpItem,
|
||||||
|
customizeHomeItem,
|
||||||
|
settingsItem,
|
||||||
|
- if (settings.shouldDeleteBrowsingDataOnQuit) quitItem else null,
|
||||||
|
+ quitItem,
|
||||||
|
).also { items ->
|
||||||
|
items.getHighlight()?.let { onHighlightPresent(it) }
|
||||||
|
}
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,25 @@
|
||||||
|
Subject: [PATCH] search changes
|
||||||
|
---
|
||||||
|
Index: components/feature/search/src/main/java/mozilla/components/feature/search/storage/SearchEngineReader.kt
|
||||||
|
IDEA additional info:
|
||||||
|
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
|
||||||
|
<+>UTF-8
|
||||||
|
===================================================================
|
||||||
|
diff --git a/components/feature/search/src/main/java/mozilla/components/feature/search/storage/SearchEngineReader.kt b/components/feature/search/src/main/java/mozilla/components/feature/search/storage/SearchEngineReader.kt
|
||||||
|
--- a/components/feature/search/src/main/java/mozilla/components/feature/search/storage/SearchEngineReader.kt (revision 5956319a9bbae9daedd519fcd60f435e8ccbbe37)
|
||||||
|
+++ b/components/feature/search/src/main/java/mozilla/components/feature/search/storage/SearchEngineReader.kt (revision 9db93731521a490cd943a530870beaa308c64612)
|
||||||
|
@@ -39,13 +39,13 @@
|
||||||
|
"leit-is",
|
||||||
|
"coccoc",
|
||||||
|
"brave",
|
||||||
|
- "ddghtml",
|
||||||
|
"ddglite",
|
||||||
|
"metager",
|
||||||
|
"mojeek",
|
||||||
|
"qwantlite",
|
||||||
|
"startpage",
|
||||||
|
"baidu",
|
||||||
|
+ "leosearch"
|
||||||
|
)
|
||||||
|
|
||||||
|
/**
|
|
@ -0,0 +1,986 @@
|
||||||
|
Subject: [PATCH] search changes
|
||||||
|
---
|
||||||
|
Index: android-components
|
||||||
|
IDEA additional info:
|
||||||
|
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
|
||||||
|
<+>UTF-8
|
||||||
|
===================================================================
|
||||||
|
diff --git a/android-components b/android-components
|
||||||
|
--- a/android-components (revision 17814c1db3be943336f191ead73b1c08f67e8b56)
|
||||||
|
+++ b/android-components (revision 47a15ec0995100b316f7a3ccf319c8d17b4633ca)
|
||||||
|
@@ -1,1 +1,1 @@
|
||||||
|
-5956319a9bbae9daedd519fcd60f435e8ccbbe37
|
||||||
|
\ No newline at end of file
|
||||||
|
+9db93731521a490cd943a530870beaa308c64612
|
||||||
|
\ No newline at end of file
|
||||||
|
Index: app/src/main/java/org/mozilla/fenix/utils/Settings.kt
|
||||||
|
IDEA additional info:
|
||||||
|
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
|
||||||
|
<+>UTF-8
|
||||||
|
===================================================================
|
||||||
|
diff --git a/app/src/main/java/org/mozilla/fenix/utils/Settings.kt b/app/src/main/java/org/mozilla/fenix/utils/Settings.kt
|
||||||
|
--- a/app/src/main/java/org/mozilla/fenix/utils/Settings.kt (revision 17814c1db3be943336f191ead73b1c08f67e8b56)
|
||||||
|
+++ b/app/src/main/java/org/mozilla/fenix/utils/Settings.kt (revision 47a15ec0995100b316f7a3ccf319c8d17b4633ca)
|
||||||
|
@@ -733,12 +733,12 @@
|
||||||
|
|
||||||
|
val useStandardTrackingProtection by booleanPreference(
|
||||||
|
appContext.getPreferenceKey(R.string.pref_key_tracking_protection_standard_option),
|
||||||
|
- true,
|
||||||
|
+ false,
|
||||||
|
)
|
||||||
|
|
||||||
|
val useStrictTrackingProtection by booleanPreference(
|
||||||
|
appContext.getPreferenceKey(R.string.pref_key_tracking_protection_strict_default),
|
||||||
|
- false,
|
||||||
|
+ true,
|
||||||
|
)
|
||||||
|
|
||||||
|
val useCustomTrackingProtection by booleanPreference(
|
||||||
|
Index: app/src/main/res/xml/tracking_protection_preferences.xml
|
||||||
|
IDEA additional info:
|
||||||
|
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
|
||||||
|
<+>UTF-8
|
||||||
|
===================================================================
|
||||||
|
diff --git a/app/src/main/res/xml/tracking_protection_preferences.xml b/app/src/main/res/xml/tracking_protection_preferences.xml
|
||||||
|
--- a/app/src/main/res/xml/tracking_protection_preferences.xml (revision 17814c1db3be943336f191ead73b1c08f67e8b56)
|
||||||
|
+++ b/app/src/main/res/xml/tracking_protection_preferences.xml (revision 47a15ec0995100b316f7a3ccf319c8d17b4633ca)
|
||||||
|
@@ -16,13 +16,13 @@
|
||||||
|
android:title="@string/preference_enhanced_tracking_protection"
|
||||||
|
app:iconSpaceReserved="false" />
|
||||||
|
<org.mozilla.fenix.settings.RadioButtonInfoPreference
|
||||||
|
- android:defaultValue="true"
|
||||||
|
+ android:defaultValue="false"
|
||||||
|
android:dependency="@string/pref_key_tracking_protection"
|
||||||
|
android:key="@string/pref_key_tracking_protection_standard_option"
|
||||||
|
android:summary="@string/preference_enhanced_tracking_protection_standard_description_5"
|
||||||
|
android:title="@string/preference_enhanced_tracking_protection_standard_default_1" />
|
||||||
|
<org.mozilla.fenix.settings.RadioButtonInfoPreference
|
||||||
|
- android:defaultValue="false"
|
||||||
|
+ android:defaultValue="true"
|
||||||
|
android:dependency="@string/pref_key_tracking_protection"
|
||||||
|
android:key="@string/pref_key_tracking_protection_strict_default"
|
||||||
|
android:summary="@string/preference_enhanced_tracking_protection_strict_description_4"
|
||||||
|
Index: automation/iceraven/assets/list.json
|
||||||
|
IDEA additional info:
|
||||||
|
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
|
||||||
|
<+>UTF-8
|
||||||
|
===================================================================
|
||||||
|
diff --git a/automation/iceraven/assets/list.json b/automation/iceraven/assets/list.json
|
||||||
|
--- a/automation/iceraven/assets/list.json (revision 17814c1db3be943336f191ead73b1c08f67e8b56)
|
||||||
|
+++ b/automation/iceraven/assets/list.json (revision 47a15ec0995100b316f7a3ccf319c8d17b4633ca)
|
||||||
|
@@ -1,9 +1,9 @@
|
||||||
|
{
|
||||||
|
"default": {
|
||||||
|
- "searchDefault": "DuckDuckGo",
|
||||||
|
- "searchOrder": ["Google", "Bing"],
|
||||||
|
+ "searchDefault": "LeOSearch",
|
||||||
|
+ "searchOrder": ["ddg", "brave"],
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazondotcom", "ddg", "wikipedia", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazondotcom", "ddg", "wikipedia", "startpage", "brave"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"regionOverrides": {
|
||||||
|
@@ -12,49 +12,49 @@
|
||||||
|
"ach": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "ddg", "wikipedia", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "ddg", "wikipedia", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"an": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "ddg", "wikipedia-an", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "ddg", "wikipedia-an", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ar": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazondotcom", "ddg", "wikipedia-ar", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazondotcom", "ddg", "wikipedia-ar", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"as": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazon-in", "ddg", "wikipedia-as", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazon-in", "ddg", "wikipedia-as", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ast": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazondotcom", "ddg", "wikipedia-ast", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazondotcom", "ddg", "wikipedia-ast", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"az": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazondotcom", "ddg", "azerdict", "wikipedia-az", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazondotcom", "ddg", "azerdict", "wikipedia-az", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"be": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "ddg", "wikipedia-be", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "ddg", "wikipedia-be", "startpage", "brave"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"BY": {
|
||||||
|
@@ -81,133 +81,133 @@
|
||||||
|
"bg": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "ddg", "pazaruvaj", "wikipedia-bg", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "ddg", "pazaruvaj", "wikipedia-bg", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"bn": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "ddg", "wikipedia-bn", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "ddg", "wikipedia-bn", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"bn-BD": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "ddg", "wikipedia-bn", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "ddg", "wikipedia-bn", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"bn-IN": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazondotcom", "ddg", "rediff", "wikipedia-bn", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazondotcom", "ddg", "rediff", "wikipedia-bn", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"br": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "ddg", "wikipedia-br", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "ddg", "wikipedia-br", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"bs": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "ddg", "wikipedia-bs", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "ddg", "wikipedia-bs", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ca": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "ddg", "wikipedia-ca", "startpage", "brave"
|
||||||
|
+ "leosearch", "ddg", "wikipedia-ca", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"cak": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "amazondotcom", "ddg", "wikipedia-es", "startpage", "brave"
|
||||||
|
+ "leosearch", "amazondotcom", "ddg", "wikipedia-es", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"cs": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "ddg", "mapy-cz", "seznam-cz", "wikipedia-cz", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "ddg", "mapy-cz", "seznam-cz", "wikipedia-cz", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"cy": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazon-co-uk", "ddg", "wikipedia-cy", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazon-co-uk", "ddg", "wikipedia-cy", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"da": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "amazon-co-uk", "ddg", "wikipedia-da", "startpage", "brave"
|
||||||
|
+ "leosearch", "amazon-co-uk", "ddg", "wikipedia-da", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"de": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazon-de", "ddg", "ecosia", "qwant", "wikipedia-de", "ebay-de", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazon-de", "ddg", "ecosia", "qwant", "wikipedia-de", "ebay-de", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"de-AT": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazon-de", "ddg", "ecosia", "qwant", "wikipedia-de", "ebay-at", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazon-de", "ddg", "ecosia", "qwant", "wikipedia-de", "ebay-at", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"dsb": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazon-de", "ddg", "wikipedia-dsb", "ebay-de", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazon-de", "ddg", "wikipedia-dsb", "ebay-de", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"el": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "ddg", "skroutz", "wikipedia-el", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "ddg", "skroutz", "wikipedia-el", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"en-AU": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazon-au", "ddg", "wikipedia", "ebay-au", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazon-au", "ddg", "wikipedia", "ebay-au", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"en-CA": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazon-ca", "ddg", "wikipedia", "ebay-ca", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazon-ca", "ddg", "wikipedia", "ebay-ca", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"en-IE": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazon-co-uk", "ddg", "qwant", "wikipedia", "ebay-ie", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazon-co-uk", "ddg", "qwant", "wikipedia", "ebay-ie", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"en-GB": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazon-co-uk", "ddg", "qwant", "wikipedia", "ebay-co-uk", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazon-co-uk", "ddg", "qwant", "wikipedia", "ebay-co-uk", "startpage", "brave"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"BY": {
|
||||||
|
@@ -234,7 +234,7 @@
|
||||||
|
"en-US": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazondotcom", "ddg", "ebay", "wikipedia", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazondotcom", "ddg", "ebay", "wikipedia", "startpage", "brave"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"BY": {
|
||||||
|
@@ -261,245 +261,245 @@
|
||||||
|
"en-ZA": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "ddg", "wikipedia", "startpage", "brave"
|
||||||
|
+ "leosearch", "ddg", "wikipedia", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"eo": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "ddg", "reta-vortaro", "wikipedia-eo", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "ddg", "reta-vortaro", "wikipedia-eo", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"es-AR": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "ddg", "mercadolibre-ar", "wikipedia-es", "startpage", "brave"
|
||||||
|
+ "leosearch", "ddg", "mercadolibre-ar", "wikipedia-es", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"es-CL": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "ddg", "mercadolibre-cl", "wikipedia-es", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "ddg", "mercadolibre-cl", "wikipedia-es", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"es-ES": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "ddg", "wikipedia-es", "amazon-es", "ebay-es", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "ddg", "wikipedia-es", "amazon-es", "ebay-es", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"es-MX": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazondotcom", "ddg", "mercadolibre-mx", "wikipedia-es", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazondotcom", "ddg", "mercadolibre-mx", "wikipedia-es", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"et": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "amazon-co-uk", "ddg", "wikipedia-et", "startpage", "brave"
|
||||||
|
+ "leosearch", "amazon-co-uk", "ddg", "wikipedia-et", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"eu": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "ddg", "elebila", "wikipedia-eu", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "ddg", "elebila", "wikipedia-eu", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"fa": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "ddg", "wikipedia-fa", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "ddg", "wikipedia-fa", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ff": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazon-fr", "ddg", "wikipedia-fr", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazon-fr", "ddg", "wikipedia-fr", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"fi": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "amazondotcom", "ddg", "wikipedia-fi", "startpage", "brave"
|
||||||
|
+ "leosearch", "amazondotcom", "ddg", "wikipedia-fi", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"fr-BE": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "ddg", "qwant", "wikipedia-fr", "ebay-befr", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "ddg", "qwant", "wikipedia-fr", "ebay-befr", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"fr-CA": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazon-ca", "ddg", "wikipedia-fr", "ebay-ca", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazon-ca", "ddg", "wikipedia-fr", "ebay-ca", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"fr-FR": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "ddg", "qwant", "wikipedia-fr", "amazon-fr", "ebay-fr", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "ddg", "qwant", "wikipedia-fr", "amazon-fr", "ebay-fr", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"fr": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "ddg", "qwant", "wikipedia-fr", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "ddg", "qwant", "wikipedia-fr", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"fy-NL": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "ddg", "wikipedia-fy-NL", "startpage", "brave"
|
||||||
|
+ "leosearch", "ddg", "wikipedia-fy-NL", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ga-IE": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "amazon-co-uk", "ddg", "wikipedia-ga-IE", "startpage", "brave"
|
||||||
|
+ "leosearch", "amazon-co-uk", "ddg", "wikipedia-ga-IE", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"gd": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "ddg", "faclair-beag", "wikipedia-gd", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "ddg", "faclair-beag", "wikipedia-gd", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"gl": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazondotcom", "ddg", "wikipedia-gl", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazondotcom", "ddg", "wikipedia-gl", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"gn": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazondotcom", "ddg", "wikipedia-gn", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazondotcom", "ddg", "wikipedia-gn", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"gu-IN": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazon-in", "ddg", "wikipedia-gu", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazon-in", "ddg", "wikipedia-gu", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"he": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazondotcom", "ddg", "wikipedia-he", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazondotcom", "ddg", "wikipedia-he", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"hi-IN": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazon-in", "ddg", "wikipedia-hi", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazon-in", "ddg", "wikipedia-hi", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"hr": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazon-co-uk", "ddg", "wikipedia-hr", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazon-co-uk", "ddg", "wikipedia-hr", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"hsb": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazon-de", "ddg", "wikipedia-hsb", "ebay-de", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazon-de", "ddg", "wikipedia-hsb", "ebay-de", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"hu": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "ddg", "sztaki-en-hu", "vatera", "wikipedia-hu", "startpage", "brave"
|
||||||
|
+ "leosearch", "ddg", "sztaki-en-hu", "vatera", "wikipedia-hu", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"hy-AM": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazondotcom", "ddg", "wikipedia-hy-AM", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazondotcom", "ddg", "wikipedia-hy-AM", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ia": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazondotcom", "ddg", "wikipedia-ia", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazondotcom", "ddg", "wikipedia-ia", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"id": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "ddg", "wikipedia-id", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "ddg", "wikipedia-id", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"is": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazondotcom", "ddg", "leit-is", "wikipedia-is", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazondotcom", "ddg", "leit-is", "wikipedia-is", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"it": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "ddg", "wikipedia-it", "amazon-it", "ebay-it", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "ddg", "wikipedia-it", "amazon-it", "ebay-it", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ja": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "amazon-jp", "bing", "ddg", "wikipedia-ja", "yahoo-jp", "startpage", "brave"
|
||||||
|
+ "leosearch", "amazon-jp", "bing", "ddg", "wikipedia-ja", "yahoo-jp", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ka": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazondotcom", "ddg", "wikipedia-ka", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazondotcom", "ddg", "wikipedia-ka", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"kab": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "ddg", "wikipedia-kab", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "ddg", "wikipedia-kab", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"kk": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "ddg", "wikipedia-kk", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "ddg", "wikipedia-kk", "startpage", "brave"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"KZ": {
|
||||||
|
@@ -526,203 +526,203 @@
|
||||||
|
"km": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazondotcom", "ddg", "wikipedia-km", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazondotcom", "ddg", "wikipedia-km", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"kn": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazon-in", "ddg", "wikipedia-kn", "wiktionary-kn", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazon-in", "ddg", "wikipedia-kn", "wiktionary-kn", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ko": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "ddg", "danawa-kr", "daum-kr", "startpage", "brave"
|
||||||
|
+ "leosearch", "ddg", "danawa-kr", "daum-kr", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"lij": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazon-it", "ddg", "wikipedia-lij", "ebay-it", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazon-it", "ddg", "wikipedia-lij", "ebay-it", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"lo": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "ddg", "wikipedia-lo", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "ddg", "wikipedia-lo", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"lt": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "ddg", "wikipedia-lt", "startpage", "brave"
|
||||||
|
+ "leosearch", "ddg", "wikipedia-lt", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ltg": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazon-co-uk", "wikipedia-ltg", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazon-co-uk", "wikipedia-ltg", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"lv": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "ddg", "salidzinilv", "wikipedia-lv", "startpage", "brave"
|
||||||
|
+ "leosearch", "ddg", "salidzinilv", "wikipedia-lv", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mai": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazon-in", "ddg", "wikipedia-hi", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazon-in", "ddg", "wikipedia-hi", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"meh": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazondotcom", "ddg", "wikipedia-es", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazondotcom", "ddg", "wikipedia-es", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mix": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazondotcom", "ddg", "wikipedia-es", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazondotcom", "ddg", "wikipedia-es", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ml": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "ddg", "wikipedia-ml", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "ddg", "wikipedia-ml", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mr": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazon-in", "ddg", "rediff", "wikipedia-mr", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazon-in", "ddg", "rediff", "wikipedia-mr", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ms": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazondotcom", "ddg", "wikipedia-ms", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazondotcom", "ddg", "wikipedia-ms", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"my": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazondotcom", "ddg", "wikipedia-my", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazondotcom", "ddg", "wikipedia-my", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nb-NO": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "ddg", "gulesider-mobile-NO", "wikipedia-NO", "startpage", "brave"
|
||||||
|
+ "leosearch", "ddg", "gulesider-mobile-NO", "wikipedia-NO", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ne-NP": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "ddg", "wikipedia-ne", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "ddg", "wikipedia-ne", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nl-NL": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "ddg", "wikipedia-nl", "amazon-nl", "ebay-nl", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "ddg", "wikipedia-nl", "amazon-nl", "ebay-nl", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nl": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "ddg", "wikipedia-nl", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "ddg", "wikipedia-nl", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nn-NO": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "ddg", "gulesider-mobile-NO", "wikipedia-NN", "startpage", "brave"
|
||||||
|
+ "leosearch", "ddg", "gulesider-mobile-NO", "wikipedia-NN", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"oc": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "ddg", "wikipedia-oc", "wiktionary-oc", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "ddg", "wikipedia-oc", "wiktionary-oc", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"or": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazon-in", "ddg", "wikipedia-or", "wiktionary-or", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazon-in", "ddg", "wikipedia-or", "wiktionary-or", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"pa-IN": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "ddg", "wikipedia-pa", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "ddg", "wikipedia-pa", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"pl": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "ddg", "wikipedia-pl", "ebay-pl", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "ddg", "wikipedia-pl", "ebay-pl", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"pt-BR": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "ddg", "wikipedia-pt", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "ddg", "wikipedia-pt", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"pt-PT": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "ddg", "wikipedia-pt", "startpage", "brave"
|
||||||
|
+ "leosearch", "ddg", "wikipedia-pt", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"rm": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "ddg", "leo_ende_de", "pledarigrond", "wikipedia-rm", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "ddg", "leo_ende_de", "pledarigrond", "wikipedia-rm", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ro": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "ddg", "wikipedia-ro", "startpage", "brave"
|
||||||
|
+ "leosearch", "ddg", "wikipedia-ro", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ru": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "ddg", "wikipedia-ru", "startpage", "brave"
|
||||||
|
+ "leosearch", "ddg", "wikipedia-ru", "startpage", "brave"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"RU": {
|
||||||
|
@@ -749,77 +749,77 @@
|
||||||
|
"sk": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "ddg", "slovnik-sk", "wikipedia-sk", "startpage", "brave"
|
||||||
|
+ "leosearch", "ddg", "slovnik-sk", "wikipedia-sk", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"sl": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "ddg", "ceneje", "odpiralni", "wikipedia-sl", "startpage", "brave"
|
||||||
|
+ "leosearch", "ddg", "ceneje", "odpiralni", "wikipedia-sl", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"son": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "ddg", "bing", "amazon-fr", "wikipedia-fr", "startpage", "brave"
|
||||||
|
+ "leosearch", "ddg", "bing", "amazon-fr", "wikipedia-fr", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"sq": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazon-co-uk", "ddg", "wikipedia-sq", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazon-co-uk", "ddg", "wikipedia-sq", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"sr": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "ddg", "wikipedia-sr", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "ddg", "wikipedia-sr", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"sv-SE": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "prisjakt-sv-SE", "ddg", "wikipedia-sv-SE", "amazon-se", "ebay-ch", "startpage", "brave"
|
||||||
|
+ "leosearch", "prisjakt-sv-SE", "ddg", "wikipedia-sv-SE", "amazon-se", "ebay-ch", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ta": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazon-in", "ddg", "wikipedia-ta", "wiktionary-ta", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazon-in", "ddg", "wikipedia-ta", "wiktionary-ta", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"te": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazon-in", "ddg", "wikipedia-te", "wiktionary-te", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazon-in", "ddg", "wikipedia-te", "wiktionary-te", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"th": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "ddg", "wikipedia-th", "startpage", "brave"
|
||||||
|
+ "leosearch", "ddg", "wikipedia-th", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"tl": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazondotcom", "ddg", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazondotcom", "ddg", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"tr": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "ddg", "wikipedia-tr", "startpage", "brave"
|
||||||
|
+ "leosearch", "ddg", "wikipedia-tr", "startpage", "brave"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"TR": {
|
||||||
|
@@ -846,70 +846,70 @@
|
||||||
|
"trs": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazondotcom", "ddg", "wikipedia-es", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazondotcom", "ddg", "wikipedia-es", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"uk": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "ddg", "wikipedia-uk", "startpage", "brave"
|
||||||
|
+ "leosearch", "ddg", "wikipedia-uk", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ur": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazon-in", "ddg", "wikipedia-ur", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazon-in", "ddg", "wikipedia-ur", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"uz": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "amazondotcom", "ddg", "wikipedia-uz", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "amazondotcom", "ddg", "wikipedia-uz", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"vi": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "coccoc", "ddg", "wikipedia-vi", "startpage", "brave"
|
||||||
|
+ "leosearch", "coccoc", "ddg", "wikipedia-vi", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"wo": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "ddg", "wikipedia-wo", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "ddg", "wikipedia-wo", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"xh": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "ddg", "wikipedia", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "ddg", "wikipedia", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"zam": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "ddg", "wikipedia-es", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "ddg", "wikipedia-es", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"zh-CN": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "baidu", "bing", "ddg", "wikipedia-zh-CN", "startpage", "brave"
|
||||||
|
+ "leosearch", "baidu", "bing", "ddg", "wikipedia-zh-CN", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"zh-TW": {
|
||||||
|
"default": {
|
||||||
|
"visibleDefaultEngines": [
|
||||||
|
- "google-b-m", "bing", "ddg", "wikipedia-zh-TW", "startpage", "brave"
|
||||||
|
+ "leosearch", "bing", "ddg", "wikipedia-zh-TW", "startpage", "brave"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,15 @@
|
||||||
|
Subject: [PATCH] x
|
||||||
|
---
|
||||||
|
Index: blobs.sh
|
||||||
|
===================================================================
|
||||||
|
diff --git a/blobs.sh b/blobs.sh
|
||||||
|
deleted file mode 100644
|
||||||
|
--- a/blobs.sh (revision c577fca8445181a70382fe6c12544a47d5092b92)
|
||||||
|
+++ /dev/null (revision c577fca8445181a70382fe6c12544a47d5092b92)
|
||||||
|
@@ -1,6 +0,0 @@
|
||||||
|
-sed -i \
|
||||||
|
- -e '/Deps.mozilla_lib_push_firebase/d' \
|
||||||
|
- -e '/Deps.adjust/d; /Deps.installreferrer/d; /Deps.google_ads_id/d' \
|
||||||
|
- -e '/Deps.google_play_store/d' \
|
||||||
|
- app/build.gradle
|
||||||
|
-
|
|
@ -0,0 +1,9 @@
|
||||||
|
Subject: [PATCH] x
|
||||||
|
---
|
||||||
|
diff --git a/app/src/main/res.tar.gz b/app/src/main/res.tar.gz
|
||||||
|
deleted file mode 100644
|
||||||
|
index e7b09525829f66e1cfb9c04c03ea1c3a9a2615f7..0000000000000000000000000000000000000000
|
||||||
|
GIT binary patch
|
||||||
|
literal 0
|
||||||
|
Hc$@<O00001
|
||||||
|
|
|
@ -0,0 +1,997 @@
|
||||||
|
Subject: [PATCH] v120
|
||||||
|
---
|
||||||
|
Index: fenix-liberate.patch
|
||||||
|
IDEA additional info:
|
||||||
|
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
|
||||||
|
<+>UTF-8
|
||||||
|
===================================================================
|
||||||
|
diff --git a/fenix-liberate.patch b/fenix-liberate.patch
|
||||||
|
new file mode 100644
|
||||||
|
--- /dev/null (revision 2d11da25be368a0d5b2a0cf89e09aa073fcb0cd0)
|
||||||
|
+++ b/fenix-liberate.patch (revision 2d11da25be368a0d5b2a0cf89e09aa073fcb0cd0)
|
||||||
|
@@ -0,0 +1,985 @@
|
||||||
|
+diff --git a/fenix/app/build.gradle b/fenix/app/build.gradle
|
||||||
|
+index 78d698dad9..0fbf4cb1cf 100644
|
||||||
|
+--- a/fenix/app/build.gradle
|
||||||
|
++++ b/fenix/app/build.gradle
|
||||||
|
+@@ -576,7 +576,6 @@ dependencies {
|
||||||
|
+
|
||||||
|
+ implementation project(':lib-crash')
|
||||||
|
+ implementation project(':lib-crash-sentry')
|
||||||
|
+- implementation project(':lib-push-firebase')
|
||||||
|
+ implementation project(':lib-state')
|
||||||
|
+ implementation project(':lib-dataprotect')
|
||||||
|
+
|
||||||
|
+@@ -615,15 +614,6 @@ dependencies {
|
||||||
|
+ implementation FenixDependencies.protobuf_javalite
|
||||||
|
+ implementation ComponentsDependencies.google_material
|
||||||
|
+
|
||||||
|
+- implementation FenixDependencies.adjust
|
||||||
|
+- implementation FenixDependencies.installreferrer // Required by Adjust
|
||||||
|
+-
|
||||||
|
+- implementation FenixDependencies.google_ads_id // Required for the Google Advertising ID
|
||||||
|
+-
|
||||||
|
+- // Required for in-app reviews
|
||||||
|
+- implementation FenixDependencies.google_play_review
|
||||||
|
+- implementation FenixDependencies.google_play_review_ktx
|
||||||
|
+-
|
||||||
|
+ implementation FenixDependencies.androidx_profileinstaller
|
||||||
|
+
|
||||||
|
+ androidTestImplementation ComponentsDependencies.androidx_test_uiautomator
|
||||||
|
+diff --git a/fenix/app/proguard-rules.pro b/fenix/app/proguard-rules.pro
|
||||||
|
+index e269f65775..e870f06bef 100644
|
||||||
|
+--- a/fenix/app/proguard-rules.pro
|
||||||
|
++++ b/fenix/app/proguard-rules.pro
|
||||||
|
+@@ -1,22 +1,5 @@
|
||||||
|
+ -dontobfuscate
|
||||||
|
+
|
||||||
|
+-####################################################################################################
|
||||||
|
+-# Sentry
|
||||||
|
+-####################################################################################################
|
||||||
|
+-
|
||||||
|
+-# Recommended config via https://docs.sentry.io/clients/java/modules/android/#manual-integration
|
||||||
|
+-# Since we don't obfuscate, we don't need to use their Gradle plugin to upload ProGuard mappings.
|
||||||
|
+--keepattributes LineNumberTable,SourceFile
|
||||||
|
+--dontwarn org.slf4j.**
|
||||||
|
+--dontwarn javax.**
|
||||||
|
+-
|
||||||
|
+-# Our addition: this class is saved to disk via Serializable, which ProGuard doesn't like.
|
||||||
|
+-# If we exclude this, upload silently fails (Sentry swallows a NPE so we don't crash).
|
||||||
|
+-# I filed https://github.com/getsentry/sentry-java/issues/572
|
||||||
|
+-#
|
||||||
|
+-# If Sentry ever mysteriously stops working after we upgrade it, this could be why.
|
||||||
|
+--keep class io.sentry.event.Event { *; }
|
||||||
|
+-
|
||||||
|
+ ####################################################################################################
|
||||||
|
+ # Android and GeckoView built-ins
|
||||||
|
+ ####################################################################################################
|
||||||
|
+@@ -69,58 +52,6 @@
|
||||||
|
+
|
||||||
|
+ -keep class org.mozilla.fenix.**ViewModel { *; }
|
||||||
|
+
|
||||||
|
+-####################################################################################################
|
||||||
|
+-# Adjust
|
||||||
|
+-####################################################################################################
|
||||||
|
+-
|
||||||
|
+--keep public class com.adjust.sdk.** { *; }
|
||||||
|
+--keep class com.google.android.gms.common.ConnectionResult {
|
||||||
|
+- int SUCCESS;
|
||||||
|
+-}
|
||||||
|
+--keep class com.google.android.gms.ads.identifier.AdvertisingIdClient {
|
||||||
|
+- com.google.android.gms.ads.identifier.AdvertisingIdClient$Info getAdvertisingIdInfo(android.content.Context);
|
||||||
|
+-}
|
||||||
|
+--keep class com.google.android.gms.ads.identifier.AdvertisingIdClient$Info {
|
||||||
|
+- java.lang.String getId();
|
||||||
|
+- boolean isLimitAdTrackingEnabled();
|
||||||
|
+-}
|
||||||
|
+--keep public class com.android.installreferrer.** { *; }
|
||||||
|
+--keep class dalvik.system.VMRuntime {
|
||||||
|
+- java.lang.String getRuntime();
|
||||||
|
+-}
|
||||||
|
+--keep class android.os.Build {
|
||||||
|
+- java.lang.String[] SUPPORTED_ABIS;
|
||||||
|
+- java.lang.String CPU_ABI;
|
||||||
|
+-}
|
||||||
|
+--keep class android.content.res.Configuration {
|
||||||
|
+- android.os.LocaledList getLocales();
|
||||||
|
+- java.util.Locale locale;
|
||||||
|
+-}
|
||||||
|
+--keep class android.os.LocaleList {
|
||||||
|
+- java.util.Locale get(int);
|
||||||
|
+-}
|
||||||
|
+-
|
||||||
|
+-# Keep code generated from Glean Metrics
|
||||||
|
+--keep class org.mozilla.fenix.GleanMetrics.** { *; }
|
||||||
|
+-
|
||||||
|
+-# Keep motionlayout internal methods
|
||||||
|
+-# https://github.com/mozilla-mobile/fenix/issues/2094
|
||||||
|
+--keep class androidx.constraintlayout.** { *; }
|
||||||
|
+-
|
||||||
|
+-# Keep adjust relevant classes
|
||||||
|
+--keep class com.adjust.sdk.** { *; }
|
||||||
|
+--keep class com.google.android.gms.common.ConnectionResult {
|
||||||
|
+- int SUCCESS;
|
||||||
|
+-}
|
||||||
|
+--keep class com.google.android.gms.ads.identifier.AdvertisingIdClient {
|
||||||
|
+- com.google.android.gms.ads.identifier.AdvertisingIdClient$Info getAdvertisingIdInfo(android.content.Context);
|
||||||
|
+-}
|
||||||
|
+--keep class com.google.android.gms.ads.identifier.AdvertisingIdClient$Info {
|
||||||
|
+- java.lang.String getId();
|
||||||
|
+- boolean isLimitAdTrackingEnabled();
|
||||||
|
+-}
|
||||||
|
+--keep public class com.android.installreferrer.** { *; }
|
||||||
|
+-
|
||||||
|
+ # Keep Android Lifecycle methods
|
||||||
|
+ # https://bugzilla.mozilla.org/show_bug.cgi?id=1596302
|
||||||
|
+ -keep class androidx.lifecycle.** { *; }
|
||||||
|
+diff --git a/fenix/app/src/main/java/com/adjust/sdk/Adjust.java b/fenix/app/src/main/java/com/adjust/sdk/Adjust.java
|
||||||
|
+new file mode 100644
|
||||||
|
+index 0000000000..7e644e2fa2
|
||||||
|
+--- /dev/null
|
||||||
|
++++ b/fenix/app/src/main/java/com/adjust/sdk/Adjust.java
|
||||||
|
+@@ -0,0 +1,44 @@
|
||||||
|
++/*
|
||||||
|
++ * Copyright (c) 2012-2017 adjust GmbH,
|
||||||
|
++ * http://www.adjust.com
|
||||||
|
++ *
|
||||||
|
++ * Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
++ * a copy of this software and associated documentation files (the
|
||||||
|
++ * "Software"), to deal in the Software without restriction, including
|
||||||
|
++ * without limitation the rights to use, copy, modify, merge, publish,
|
||||||
|
++ * distribute, sublicense, and/or sell copies of the Software, and to
|
||||||
|
++ * permit persons to whom the Software is furnished to do so, subject to
|
||||||
|
++ * the following conditions:
|
||||||
|
++ *
|
||||||
|
++ * The above copyright notice and this permission notice shall be
|
||||||
|
++ * included in all copies or substantial portions of the Software.
|
||||||
|
++ *
|
||||||
|
++ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
++ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
++ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
++ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||||
|
++ * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||||
|
++ * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
|
++ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
++ */
|
||||||
|
++
|
||||||
|
++package com.adjust.sdk;
|
||||||
|
++
|
||||||
|
++import android.content.Context;
|
||||||
|
++
|
||||||
|
++public class Adjust {
|
||||||
|
++ public static void onCreate(AdjustConfig adjustConfig) {
|
||||||
|
++ }
|
||||||
|
++
|
||||||
|
++ public static void onResume() {
|
||||||
|
++ }
|
||||||
|
++
|
||||||
|
++ public static void onPause() {
|
||||||
|
++ }
|
||||||
|
++
|
||||||
|
++ public static void setEnabled(boolean enabled) {
|
||||||
|
++ }
|
||||||
|
++
|
||||||
|
++ public static void gdprForgetMe(final Context context) {
|
||||||
|
++ }
|
||||||
|
++}
|
||||||
|
+diff --git a/fenix/app/src/main/java/com/adjust/sdk/AdjustAttribution.java b/fenix/app/src/main/java/com/adjust/sdk/AdjustAttribution.java
|
||||||
|
+new file mode 100644
|
||||||
|
+index 0000000000..ab6b3badbd
|
||||||
|
+--- /dev/null
|
||||||
|
++++ b/fenix/app/src/main/java/com/adjust/sdk/AdjustAttribution.java
|
||||||
|
+@@ -0,0 +1,49 @@
|
||||||
|
++/*
|
||||||
|
++ * Copyright (c) 2012-2017 adjust GmbH,
|
||||||
|
++ * http://www.adjust.com
|
||||||
|
++ *
|
||||||
|
++ * Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
++ * a copy of this software and associated documentation files (the
|
||||||
|
++ * "Software"), to deal in the Software without restriction, including
|
||||||
|
++ * without limitation the rights to use, copy, modify, merge, publish,
|
||||||
|
++ * distribute, sublicense, and/or sell copies of the Software, and to
|
||||||
|
++ * permit persons to whom the Software is furnished to do so, subject to
|
||||||
|
++ * the following conditions:
|
||||||
|
++ *
|
||||||
|
++ * The above copyright notice and this permission notice shall be
|
||||||
|
++ * included in all copies or substantial portions of the Software.
|
||||||
|
++ *
|
||||||
|
++ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
++ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
++ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
++ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||||
|
++ * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||||
|
++ * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
|
++ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
++ */
|
||||||
|
++
|
||||||
|
++package com.adjust.sdk;
|
||||||
|
++
|
||||||
|
++import java.io.Serializable;
|
||||||
|
++
|
||||||
|
++public class AdjustAttribution implements Serializable {
|
||||||
|
++ public String network;
|
||||||
|
++ public String campaign;
|
||||||
|
++ public String adgroup;
|
||||||
|
++ public String creative;
|
||||||
|
++
|
||||||
|
++ @Override
|
||||||
|
++ public boolean equals(Object other) {
|
||||||
|
++ return false;
|
||||||
|
++ }
|
||||||
|
++
|
||||||
|
++ @Override
|
||||||
|
++ public int hashCode() {
|
||||||
|
++ return 0;
|
||||||
|
++ }
|
||||||
|
++
|
||||||
|
++ @Override
|
||||||
|
++ public String toString() {
|
||||||
|
++ return "";
|
||||||
|
++ }
|
||||||
|
++}
|
||||||
|
+diff --git a/fenix/app/src/main/java/com/adjust/sdk/AdjustConfig.java b/fenix/app/src/main/java/com/adjust/sdk/AdjustConfig.java
|
||||||
|
+new file mode 100644
|
||||||
|
+index 0000000000..6753dd7d9f
|
||||||
|
+--- /dev/null
|
||||||
|
++++ b/fenix/app/src/main/java/com/adjust/sdk/AdjustConfig.java
|
||||||
|
+@@ -0,0 +1,46 @@
|
||||||
|
++/*
|
||||||
|
++ * Copyright (c) 2012-2017 adjust GmbH,
|
||||||
|
++ * http://www.adjust.com
|
||||||
|
++ *
|
||||||
|
++ * Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
++ * a copy of this software and associated documentation files (the
|
||||||
|
++ * "Software"), to deal in the Software without restriction, including
|
||||||
|
++ * without limitation the rights to use, copy, modify, merge, publish,
|
||||||
|
++ * distribute, sublicense, and/or sell copies of the Software, and to
|
||||||
|
++ * permit persons to whom the Software is furnished to do so, subject to
|
||||||
|
++ * the following conditions:
|
||||||
|
++ *
|
||||||
|
++ * The above copyright notice and this permission notice shall be
|
||||||
|
++ * included in all copies or substantial portions of the Software.
|
||||||
|
++ *
|
||||||
|
++ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
++ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
++ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
++ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||||
|
++ * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||||
|
++ * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
|
++ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
++ */
|
||||||
|
++
|
||||||
|
++package com.adjust.sdk;
|
||||||
|
++
|
||||||
|
++import android.content.Context;
|
||||||
|
++
|
||||||
|
++import java.util.List;
|
||||||
|
++
|
||||||
|
++public class AdjustConfig {
|
||||||
|
++ public static final String ENVIRONMENT_SANDBOX = "sandbox";
|
||||||
|
++ public static final String ENVIRONMENT_PRODUCTION = "production";
|
||||||
|
++
|
||||||
|
++ public AdjustConfig(Context context, String appToken, String environment) {
|
||||||
|
++ }
|
||||||
|
++
|
||||||
|
++ public AdjustConfig(Context context, String appToken, String environment, boolean allowSuppressLogLevel) {
|
||||||
|
++ }
|
||||||
|
++
|
||||||
|
++ public void setOnAttributionChangedListener(OnAttributionChangedListener onAttributionChangedListener) {
|
||||||
|
++ }
|
||||||
|
++
|
||||||
|
++ public void setLogLevel(LogLevel logLevel) {
|
||||||
|
++ }
|
||||||
|
++}
|
||||||
|
+diff --git a/fenix/app/src/main/java/com/adjust/sdk/LogLevel.java b/fenix/app/src/main/java/com/adjust/sdk/LogLevel.java
|
||||||
|
+new file mode 100644
|
||||||
|
+index 0000000000..27ac3de544
|
||||||
|
+--- /dev/null
|
||||||
|
++++ b/fenix/app/src/main/java/com/adjust/sdk/LogLevel.java
|
||||||
|
+@@ -0,0 +1,43 @@
|
||||||
|
++/*
|
||||||
|
++ * Copyright (c) 2012-2017 adjust GmbH,
|
||||||
|
++ * http://www.adjust.com
|
||||||
|
++ *
|
||||||
|
++ * Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
++ * a copy of this software and associated documentation files (the
|
||||||
|
++ * "Software"), to deal in the Software without restriction, including
|
||||||
|
++ * without limitation the rights to use, copy, modify, merge, publish,
|
||||||
|
++ * distribute, sublicense, and/or sell copies of the Software, and to
|
||||||
|
++ * permit persons to whom the Software is furnished to do so, subject to
|
||||||
|
++ * the following conditions:
|
||||||
|
++ *
|
||||||
|
++ * The above copyright notice and this permission notice shall be
|
||||||
|
++ * included in all copies or substantial portions of the Software.
|
||||||
|
++ *
|
||||||
|
++ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
++ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
++ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
++ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||||
|
++ * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||||
|
++ * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
|
++ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
++ */
|
||||||
|
++
|
||||||
|
++package com.adjust.sdk;
|
||||||
|
++
|
||||||
|
++import android.util.Log;
|
||||||
|
++
|
||||||
|
++/**
|
||||||
|
++ * Created by pfms on 11/03/15.
|
||||||
|
++ */
|
||||||
|
++public enum LogLevel {
|
||||||
|
++ VERBOSE(Log.VERBOSE), DEBUG(Log.DEBUG), INFO(Log.INFO), WARN(Log.WARN), ERROR(Log.ERROR), ASSERT(Log.ASSERT), SUPRESS(8);
|
||||||
|
++ final int androidLogLevel;
|
||||||
|
++
|
||||||
|
++ LogLevel(final int androidLogLevel) {
|
||||||
|
++ this.androidLogLevel = androidLogLevel;
|
||||||
|
++ }
|
||||||
|
++
|
||||||
|
++ public int getAndroidLogLevel() {
|
||||||
|
++ return androidLogLevel;
|
||||||
|
++ }
|
||||||
|
++}
|
||||||
|
+diff --git a/fenix/app/src/main/java/com/adjust/sdk/OnAttributionChangedListener.java b/fenix/app/src/main/java/com/adjust/sdk/OnAttributionChangedListener.java
|
||||||
|
+new file mode 100644
|
||||||
|
+index 0000000000..7efa1c6804
|
||||||
|
+--- /dev/null
|
||||||
|
++++ b/fenix/app/src/main/java/com/adjust/sdk/OnAttributionChangedListener.java
|
||||||
|
+@@ -0,0 +1,29 @@
|
||||||
|
++/*
|
||||||
|
++ * Copyright (c) 2012-2017 adjust GmbH,
|
||||||
|
++ * http://www.adjust.com
|
||||||
|
++ *
|
||||||
|
++ * Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
++ * a copy of this software and associated documentation files (the
|
||||||
|
++ * "Software"), to deal in the Software without restriction, including
|
||||||
|
++ * without limitation the rights to use, copy, modify, merge, publish,
|
||||||
|
++ * distribute, sublicense, and/or sell copies of the Software, and to
|
||||||
|
++ * permit persons to whom the Software is furnished to do so, subject to
|
||||||
|
++ * the following conditions:
|
||||||
|
++ *
|
||||||
|
++ * The above copyright notice and this permission notice shall be
|
||||||
|
++ * included in all copies or substantial portions of the Software.
|
||||||
|
++ *
|
||||||
|
++ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
++ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
++ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
++ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||||
|
++ * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||||
|
++ * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
|
++ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
++ */
|
||||||
|
++
|
||||||
|
++package com.adjust.sdk;
|
||||||
|
++
|
||||||
|
++public interface OnAttributionChangedListener {
|
||||||
|
++ void onAttributionChanged(AdjustAttribution attribution);
|
||||||
|
++}
|
||||||
|
+diff --git a/fenix/app/src/main/java/com/google/android/gms/ads/identifier/AdvertisingIdClient.java b/fenix/app/src/main/java/com/google/android/gms/ads/identifier/AdvertisingIdClient.java
|
||||||
|
+new file mode 100644
|
||||||
|
+index 0000000000..0f2a47b141
|
||||||
|
+--- /dev/null
|
||||||
|
++++ b/fenix/app/src/main/java/com/google/android/gms/ads/identifier/AdvertisingIdClient.java
|
||||||
|
+@@ -0,0 +1,23 @@
|
||||||
|
++/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
|
++ * License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
|
++ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
++
|
||||||
|
++package com.google.android.gms.ads.identifier;
|
||||||
|
++
|
||||||
|
++import android.content.Context;
|
||||||
|
++
|
||||||
|
++public class AdvertisingIdClient {
|
||||||
|
++
|
||||||
|
++ public static final class Info {
|
||||||
|
++
|
||||||
|
++ public String getId() {
|
||||||
|
++ return "";
|
||||||
|
++ }
|
||||||
|
++
|
||||||
|
++ }
|
||||||
|
++
|
||||||
|
++ public static Info getAdvertisingIdInfo(Context context) {
|
||||||
|
++ return new Info();
|
||||||
|
++ }
|
||||||
|
++
|
||||||
|
++}
|
||||||
|
+diff --git a/fenix/app/src/main/java/com/google/android/gms/common/GooglePlayServicesNotAvailableException.java b/fenix/app/src/main/java/com/google/android/gms/common/GooglePlayServicesNotAvailableException.java
|
||||||
|
+new file mode 100644
|
||||||
|
+index 0000000000..d3bff12497
|
||||||
|
+--- /dev/null
|
||||||
|
++++ b/fenix/app/src/main/java/com/google/android/gms/common/GooglePlayServicesNotAvailableException.java
|
||||||
|
+@@ -0,0 +1,8 @@
|
||||||
|
++/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
|
++ * License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
|
++ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
++
|
||||||
|
++package com.google.android.gms.common;
|
||||||
|
++
|
||||||
|
++public class GooglePlayServicesNotAvailableException extends Exception {
|
||||||
|
++}
|
||||||
|
+diff --git a/fenix/app/src/main/java/com/google/android/gms/common/GooglePlayServicesRepairableException.java b/fenix/app/src/main/java/com/google/android/gms/common/GooglePlayServicesRepairableException.java
|
||||||
|
+new file mode 100644
|
||||||
|
+index 0000000000..b72a7cdb16
|
||||||
|
+--- /dev/null
|
||||||
|
++++ b/fenix/app/src/main/java/com/google/android/gms/common/GooglePlayServicesRepairableException.java
|
||||||
|
+@@ -0,0 +1,8 @@
|
||||||
|
++/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
|
++ * License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
|
++ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
++
|
||||||
|
++package com.google.android.gms.common;
|
||||||
|
++
|
||||||
|
++public class GooglePlayServicesRepairableException extends Exception {
|
||||||
|
++}
|
||||||
|
+diff --git a/fenix/app/src/main/java/com/google/firebase/messaging/FirebaseMessagingService.java b/fenix/app/src/main/java/com/google/firebase/messaging/FirebaseMessagingService.java
|
||||||
|
+new file mode 100644
|
||||||
|
+index 0000000000..4d5fd8153d
|
||||||
|
+--- /dev/null
|
||||||
|
++++ b/fenix/app/src/main/java/com/google/firebase/messaging/FirebaseMessagingService.java
|
||||||
|
+@@ -0,0 +1,42 @@
|
||||||
|
++// Copyright 2020 Google LLC
|
||||||
|
++//
|
||||||
|
++// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
++// you may not use this file except in compliance with the License.
|
||||||
|
++// You may obtain a copy of the License at
|
||||||
|
++//
|
||||||
|
++// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
++//
|
||||||
|
++// Unless required by applicable law or agreed to in writing, software
|
||||||
|
++// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
++// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
++// See the License for the specific language governing permissions and
|
||||||
|
++// limitations under the License.
|
||||||
|
++package com.google.firebase.messaging;
|
||||||
|
++
|
||||||
|
++import android.app.Service;
|
||||||
|
++import android.content.Intent;
|
||||||
|
++import android.os.Binder;
|
||||||
|
++import android.os.IBinder;
|
||||||
|
++
|
||||||
|
++public class FirebaseMessagingService extends Service {
|
||||||
|
++
|
||||||
|
++ private final IBinder mBinder = new Binder();
|
||||||
|
++
|
||||||
|
++ public void onMessageReceived(RemoteMessage message) {
|
||||||
|
++ }
|
||||||
|
++
|
||||||
|
++ public void onMessageSent(String msgId) {
|
||||||
|
++ }
|
||||||
|
++
|
||||||
|
++ public void onNewToken(String token) {
|
||||||
|
++ }
|
||||||
|
++
|
||||||
|
++ public void onSendError(String msgId, Exception exception) {
|
||||||
|
++ }
|
||||||
|
++
|
||||||
|
++ @Override
|
||||||
|
++ public IBinder onBind(Intent intent) {
|
||||||
|
++ return mBinder;
|
||||||
|
++ }
|
||||||
|
++
|
||||||
|
++}
|
||||||
|
+diff --git a/fenix/app/src/main/java/com/google/firebase/messaging/RemoteMessage.java b/fenix/app/src/main/java/com/google/firebase/messaging/RemoteMessage.java
|
||||||
|
+new file mode 100644
|
||||||
|
+index 0000000000..9ad59a31e4
|
||||||
|
+--- /dev/null
|
||||||
|
++++ b/fenix/app/src/main/java/com/google/firebase/messaging/RemoteMessage.java
|
||||||
|
+@@ -0,0 +1,33 @@
|
||||||
|
++// Copyright 2020 Google LLC
|
||||||
|
++//
|
||||||
|
++// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
++// you may not use this file except in compliance with the License.
|
||||||
|
++// You may obtain a copy of the License at
|
||||||
|
++//
|
||||||
|
++// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
++//
|
||||||
|
++// Unless required by applicable law or agreed to in writing, software
|
||||||
|
++// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
++// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
++// See the License for the specific language governing permissions and
|
||||||
|
++// limitations under the License.
|
||||||
|
++package com.google.firebase.messaging;
|
||||||
|
++
|
||||||
|
++import android.os.Parcel;
|
||||||
|
++import android.os.Parcelable;
|
||||||
|
++import java.util.Map;
|
||||||
|
++
|
||||||
|
++public class RemoteMessage implements Parcelable {
|
||||||
|
++
|
||||||
|
++ public int describeContents() {
|
||||||
|
++ return 0;
|
||||||
|
++ }
|
||||||
|
++
|
||||||
|
++ public void writeToParcel(Parcel out, int flags) {
|
||||||
|
++ }
|
||||||
|
++
|
||||||
|
++ public Map<String, String> getData() {
|
||||||
|
++ return null;
|
||||||
|
++ }
|
||||||
|
++
|
||||||
|
++}
|
||||||
|
+diff --git a/fenix/app/src/main/java/mozilla/components/lib/push/firebase/AbstractFirebasePushService.kt b/fenix/app/src/main/java/mozilla/components/lib/push/firebase/AbstractFirebasePushService.kt
|
||||||
|
+new file mode 100644
|
||||||
|
+index 0000000000..b50a6f03a2
|
||||||
|
+--- /dev/null
|
||||||
|
++++ b/fenix/app/src/main/java/mozilla/components/lib/push/firebase/AbstractFirebasePushService.kt
|
||||||
|
+@@ -0,0 +1,32 @@
|
||||||
|
++/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
|
++ * License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
|
++ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
++
|
||||||
|
++package mozilla.components.lib.push.firebase
|
||||||
|
++
|
||||||
|
++import android.content.Context
|
||||||
|
++import com.google.firebase.messaging.FirebaseMessagingService
|
||||||
|
++import com.google.firebase.messaging.RemoteMessage
|
||||||
|
++import mozilla.components.concept.push.PushService
|
||||||
|
++
|
||||||
|
++abstract class AbstractFirebasePushService() : FirebaseMessagingService(), PushService {
|
||||||
|
++
|
||||||
|
++ override fun start(context: Context) {
|
||||||
|
++ }
|
||||||
|
++
|
||||||
|
++ override fun onNewToken(newToken: String) {
|
||||||
|
++ }
|
||||||
|
++
|
||||||
|
++ override fun onMessageReceived(remoteMessage: RemoteMessage?) {
|
||||||
|
++ }
|
||||||
|
++
|
||||||
|
++ final override fun stop() {
|
||||||
|
++ }
|
||||||
|
++
|
||||||
|
++ override fun deleteToken() {
|
||||||
|
++ }
|
||||||
|
++
|
||||||
|
++ override fun isServiceAvailable(context: Context): Boolean {
|
||||||
|
++ return false
|
||||||
|
++ }
|
||||||
|
++}
|
||||||
|
+diff --git a/fenix/app/src/main/java/org/mozilla/fenix/FeatureFlags.kt b/fenix/app/src/main/java/org/mozilla/fenix/FeatureFlags.kt
|
||||||
|
+index d3d63c17b9..7228e67716 100644
|
||||||
|
+--- a/fenix/app/src/main/java/org/mozilla/fenix/FeatureFlags.kt
|
||||||
|
++++ b/fenix/app/src/main/java/org/mozilla/fenix/FeatureFlags.kt
|
||||||
|
+@@ -18,7 +18,7 @@ object FeatureFlags {
|
||||||
|
+ * This feature does not only depend on this flag. It requires the AMO collection override to
|
||||||
|
+ * be enabled which is behind the Secret Settings.
|
||||||
|
+ * */
|
||||||
|
+- val customExtensionCollectionFeature = Config.channel.isNightlyOrDebug || Config.channel.isBeta
|
||||||
|
++ val customExtensionCollectionFeature = true
|
||||||
|
+
|
||||||
|
+ /**
|
||||||
|
+ * Pull-to-refresh allows you to pull the web content down far enough to have the page to
|
||||||
|
+@@ -37,7 +37,7 @@ object FeatureFlags {
|
||||||
|
+ fun isPocketRecommendationsFeatureEnabled(context: Context): Boolean {
|
||||||
|
+ val langTag = LocaleManager.getCurrentLocale(context)
|
||||||
|
+ ?.toLanguageTag() ?: getSystemDefault().toLanguageTag()
|
||||||
|
+- return listOf("en-US", "en-CA").contains(langTag)
|
||||||
|
++ return false && listOf("en-US", "en-CA").contains(langTag)
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ /**
|
||||||
|
+diff --git a/fenix/app/src/main/java/org/mozilla/fenix/components/Analytics.kt b/fenix/app/src/main/java/org/mozilla/fenix/components/Analytics.kt
|
||||||
|
+index 3cd954a5bb..31f4e6fe34 100644
|
||||||
|
+--- a/fenix/app/src/main/java/org/mozilla/fenix/components/Analytics.kt
|
||||||
|
++++ b/fenix/app/src/main/java/org/mozilla/fenix/components/Analytics.kt
|
||||||
|
+@@ -137,11 +137,7 @@ class Analytics(
|
||||||
|
+ MetricController.create(
|
||||||
|
+ listOf(
|
||||||
|
+ GleanMetricsService(context),
|
||||||
|
+- AdjustMetricsService(
|
||||||
|
+- application = context as Application,
|
||||||
|
+- storage = metricsStorage,
|
||||||
|
+- crashReporter = crashReporter,
|
||||||
|
+- ),
|
||||||
|
++ AdjustMetricsService(context as Application),
|
||||||
|
+ InstallReferrerMetricsService(context),
|
||||||
|
+ ),
|
||||||
|
+ isDataTelemetryEnabled = { context.settings().isTelemetryEnabled },
|
||||||
|
+diff --git a/fenix/app/src/main/java/org/mozilla/fenix/components/Components.kt b/fenix/app/src/main/java/org/mozilla/fenix/components/Components.kt
|
||||||
|
+index d077ca2972..a55a167ad5 100644
|
||||||
|
+--- a/fenix/app/src/main/java/org/mozilla/fenix/components/Components.kt
|
||||||
|
++++ b/fenix/app/src/main/java/org/mozilla/fenix/components/Components.kt
|
||||||
|
+@@ -10,7 +10,6 @@ import android.content.Context
|
||||||
|
+ import androidx.compose.runtime.Composable
|
||||||
|
+ import androidx.compose.ui.platform.LocalContext
|
||||||
|
+ import androidx.core.app.NotificationManagerCompat
|
||||||
|
+-import com.google.android.play.core.review.ReviewManagerFactory
|
||||||
|
+ import mozilla.components.feature.addons.AddonManager
|
||||||
|
+ import mozilla.components.feature.addons.amo.AMOAddonsProvider
|
||||||
|
+ import mozilla.components.feature.addons.migration.DefaultSupportedAddonsChecker
|
||||||
|
+@@ -171,7 +170,6 @@ class Components(private val context: Context) {
|
||||||
|
+
|
||||||
|
+ val reviewPromptController by lazyMonitored {
|
||||||
|
+ ReviewPromptController(
|
||||||
|
+- manager = ReviewManagerFactory.create(context),
|
||||||
|
+ reviewSettings = FenixReviewSettings(settings),
|
||||||
|
+ )
|
||||||
|
+ }
|
||||||
|
+diff --git a/fenix/app/src/main/java/org/mozilla/fenix/components/Core.kt b/fenix/app/src/main/java/org/mozilla/fenix/components/Core.kt
|
||||||
|
+index f6d7a2b0df..366c256bdb 100644
|
||||||
|
+--- a/fenix/app/src/main/java/org/mozilla/fenix/components/Core.kt
|
||||||
|
++++ b/fenix/app/src/main/java/org/mozilla/fenix/components/Core.kt
|
||||||
|
+@@ -510,8 +510,14 @@ class Core(
|
||||||
|
+ } else {
|
||||||
|
+ defaultTopSites.add(
|
||||||
|
+ Pair(
|
||||||
|
+- context.getString(R.string.default_top_site_google),
|
||||||
|
+- SupportUtils.GOOGLE_URL,
|
||||||
|
++ context.getString(R.string.default_top_site_fdroid),
|
||||||
|
++ SupportUtils.FDROID_URL,
|
||||||
|
++ ),
|
||||||
|
++ )
|
||||||
|
++ defaultTopSites.add(
|
||||||
|
++ Pair(
|
||||||
|
++ context.getString(R.string.default_top_site_eff),
|
||||||
|
++ SupportUtils.EFF_URL,
|
||||||
|
+ ),
|
||||||
|
+ )
|
||||||
|
+
|
||||||
|
+diff --git a/fenix/app/src/main/java/org/mozilla/fenix/components/ReviewPromptController.kt b/fenix/app/src/main/java/org/mozilla/fenix/components/ReviewPromptController.kt
|
||||||
|
+index 33e8704adc..ffa85e3e46 100644
|
||||||
|
+--- a/fenix/app/src/main/java/org/mozilla/fenix/components/ReviewPromptController.kt
|
||||||
|
++++ b/fenix/app/src/main/java/org/mozilla/fenix/components/ReviewPromptController.kt
|
||||||
|
+@@ -6,8 +6,6 @@ package org.mozilla.fenix.components
|
||||||
|
+
|
||||||
|
+ import android.app.Activity
|
||||||
|
+ import androidx.annotation.VisibleForTesting
|
||||||
|
+-import com.google.android.play.core.review.ReviewInfo
|
||||||
|
+-import com.google.android.play.core.review.ReviewManager
|
||||||
|
+ import kotlinx.coroutines.Dispatchers.Main
|
||||||
|
+ import kotlinx.coroutines.withContext
|
||||||
|
+ import org.mozilla.fenix.GleanMetrics.ReviewPrompt
|
||||||
|
+@@ -45,24 +43,9 @@ class FenixReviewSettings(
|
||||||
|
+ * Controls the Review Prompt behavior.
|
||||||
|
+ */
|
||||||
|
+ class ReviewPromptController(
|
||||||
|
+- private val manager: ReviewManager,
|
||||||
|
+ private val reviewSettings: ReviewSettings,
|
||||||
|
+ private val timeNowInMillis: () -> Long = { System.currentTimeMillis() },
|
||||||
|
+- private val tryPromptReview: suspend (Activity) -> Unit = { activity ->
|
||||||
|
+- val flow = manager.requestReviewFlow()
|
||||||
|
+-
|
||||||
|
+- withContext(Main) {
|
||||||
|
+- flow.addOnCompleteListener {
|
||||||
|
+- if (it.isSuccessful) {
|
||||||
|
+- manager.launchReviewFlow(activity, it.result)
|
||||||
|
+- recordReviewPromptEvent(
|
||||||
|
+- it.result.toString(),
|
||||||
|
+- reviewSettings.numberOfAppLaunches,
|
||||||
|
+- Date(),
|
||||||
|
+- )
|
||||||
|
+- }
|
||||||
|
+- }
|
||||||
|
+- }
|
||||||
|
++ private val tryPromptReview: suspend (Activity) -> Unit = { _ ->
|
||||||
|
+ },
|
||||||
|
+ ) {
|
||||||
|
+ @VisibleForTesting(otherwise = VisibleForTesting.PRIVATE)
|
||||||
|
+diff --git a/fenix/app/src/main/java/org/mozilla/fenix/components/metrics/AdjustMetricsService.kt b/fenix/app/src/main/java/org/mozilla/fenix/components/metrics/AdjustMetricsService.kt
|
||||||
|
+index b979a08026..ae125ebd52 100644
|
||||||
|
+--- a/fenix/app/src/main/java/org/mozilla/fenix/components/metrics/AdjustMetricsService.kt
|
||||||
|
++++ b/fenix/app/src/main/java/org/mozilla/fenix/components/metrics/AdjustMetricsService.kt
|
||||||
|
+@@ -10,25 +10,13 @@ import android.os.Bundle
|
||||||
|
+ import android.util.Log
|
||||||
|
+ import com.adjust.sdk.Adjust
|
||||||
|
+ import com.adjust.sdk.AdjustConfig
|
||||||
|
+-import com.adjust.sdk.AdjustEvent
|
||||||
|
+-import com.adjust.sdk.Constants.ADJUST_PREINSTALL_SYSTEM_PROPERTY_PATH
|
||||||
|
+ import com.adjust.sdk.LogLevel
|
||||||
|
+-import kotlinx.coroutines.CoroutineDispatcher
|
||||||
|
+-import kotlinx.coroutines.CoroutineScope
|
||||||
|
+-import kotlinx.coroutines.Dispatchers
|
||||||
|
+-import kotlinx.coroutines.launch
|
||||||
|
+-import mozilla.components.lib.crash.CrashReporter
|
||||||
|
+ import org.mozilla.fenix.BuildConfig
|
||||||
|
+ import org.mozilla.fenix.Config
|
||||||
|
+ import org.mozilla.fenix.GleanMetrics.FirstSession
|
||||||
|
+ import org.mozilla.fenix.ext.settings
|
||||||
|
+
|
||||||
|
+-class AdjustMetricsService(
|
||||||
|
+- private val application: Application,
|
||||||
|
+- private val storage: MetricsStorage,
|
||||||
|
+- private val crashReporter: CrashReporter,
|
||||||
|
+- private val dispatcher: CoroutineDispatcher = Dispatchers.IO,
|
||||||
|
+-) : MetricsService {
|
||||||
|
++class AdjustMetricsService(private val application: Application) : MetricsService {
|
||||||
|
+ override val type = MetricServiceType.Marketing
|
||||||
|
+
|
||||||
|
+ override fun start() {
|
||||||
|
+@@ -42,15 +30,12 @@ class AdjustMetricsService(
|
||||||
|
+ return
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+- System.setProperty(ADJUST_PREINSTALL_SYSTEM_PROPERTY_PATH, "/preload/etc/adjust.preinstall")
|
||||||
|
+-
|
||||||
|
+ val config = AdjustConfig(
|
||||||
|
+ application,
|
||||||
|
+ BuildConfig.ADJUST_TOKEN,
|
||||||
|
+ AdjustConfig.ENVIRONMENT_PRODUCTION,
|
||||||
|
+ true,
|
||||||
|
+ )
|
||||||
|
+- config.setPreinstallTrackingEnabled(true)
|
||||||
|
+
|
||||||
|
+ val installationPing = FirstSessionPing(application)
|
||||||
|
+
|
||||||
|
+@@ -94,26 +79,8 @@ class AdjustMetricsService(
|
||||||
|
+ Adjust.gdprForgetMe(application.applicationContext)
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+- @Suppress("TooGenericExceptionCaught")
|
||||||
|
+- override fun track(event: Event) {
|
||||||
|
+- CoroutineScope(dispatcher).launch {
|
||||||
|
+- try {
|
||||||
|
+- if (event is Event.GrowthData) {
|
||||||
|
+- if (storage.shouldTrack(event)) {
|
||||||
|
+- Adjust.trackEvent(AdjustEvent(event.tokenName))
|
||||||
|
+- storage.updateSentState(event)
|
||||||
|
+- } else {
|
||||||
|
+- storage.updatePersistentState(event)
|
||||||
|
+- }
|
||||||
|
+- }
|
||||||
|
+- } catch (e: Exception) {
|
||||||
|
+- crashReporter.submitCaughtException(e)
|
||||||
|
+- }
|
||||||
|
+- }
|
||||||
|
+- }
|
||||||
|
+-
|
||||||
|
+- override fun shouldTrack(event: Event): Boolean =
|
||||||
|
+- event is Event.GrowthData
|
||||||
|
++ override fun track(event: Event) { /* noop */ }
|
||||||
|
++ override fun shouldTrack(event: Event): Boolean = false
|
||||||
|
+
|
||||||
|
+ companion object {
|
||||||
|
+ private const val LOGTAG = "AdjustMetricsService"
|
||||||
|
+diff --git a/fenix/app/src/main/java/org/mozilla/fenix/components/metrics/InstallReferrerMetricsService.kt b/fenix/app/src/main/java/org/mozilla/fenix/components/metrics/InstallReferrerMetricsService.kt
|
||||||
|
+index a65690bdce..5e88212347 100644
|
||||||
|
+--- a/fenix/app/src/main/java/org/mozilla/fenix/components/metrics/InstallReferrerMetricsService.kt
|
||||||
|
++++ b/fenix/app/src/main/java/org/mozilla/fenix/components/metrics/InstallReferrerMetricsService.kt
|
||||||
|
+@@ -8,8 +8,6 @@ import android.content.Context
|
||||||
|
+ import android.net.UrlQuerySanitizer
|
||||||
|
+ import android.os.RemoteException
|
||||||
|
+ import androidx.annotation.VisibleForTesting
|
||||||
|
+-import com.android.installreferrer.api.InstallReferrerClient
|
||||||
|
+-import com.android.installreferrer.api.InstallReferrerStateListener
|
||||||
|
+ import org.mozilla.fenix.GleanMetrics.PlayStoreAttribution
|
||||||
|
+ import org.mozilla.fenix.ext.settings
|
||||||
|
+ import org.mozilla.fenix.utils.Settings
|
||||||
|
+@@ -23,60 +21,13 @@ import java.net.URLDecoder
|
||||||
|
+ class InstallReferrerMetricsService(private val context: Context) : MetricsService {
|
||||||
|
+ override val type = MetricServiceType.Marketing
|
||||||
|
+
|
||||||
|
+- private var referrerClient: InstallReferrerClient? = null
|
||||||
|
+-
|
||||||
|
+ override fun start() {
|
||||||
|
+ if (context.settings().utmParamsKnown) {
|
||||||
|
+ return
|
||||||
|
+ }
|
||||||
|
+-
|
||||||
|
+- val timerId = PlayStoreAttribution.attributionTime.start()
|
||||||
|
+- val client = InstallReferrerClient.newBuilder(context).build()
|
||||||
|
+- referrerClient = client
|
||||||
|
+-
|
||||||
|
+- client.startConnection(
|
||||||
|
+- object : InstallReferrerStateListener {
|
||||||
|
+- override fun onInstallReferrerSetupFinished(responseCode: Int) {
|
||||||
|
+- PlayStoreAttribution.attributionTime.stopAndAccumulate(timerId)
|
||||||
|
+- when (responseCode) {
|
||||||
|
+- InstallReferrerClient.InstallReferrerResponse.OK -> {
|
||||||
|
+- // Connection established.
|
||||||
|
+- try {
|
||||||
|
+- val response = client.installReferrer
|
||||||
|
+- recordInstallReferrer(context.settings(), response.installReferrer)
|
||||||
|
+- context.settings().utmParamsKnown = true
|
||||||
|
+- } catch (e: RemoteException) {
|
||||||
|
+- // NOOP.
|
||||||
|
+- // We can't do anything about this.
|
||||||
|
+- }
|
||||||
|
+- }
|
||||||
|
+-
|
||||||
|
+- InstallReferrerClient.InstallReferrerResponse.FEATURE_NOT_SUPPORTED -> {
|
||||||
|
+- // API not available on the current Play Store app.
|
||||||
|
+- context.settings().utmParamsKnown = true
|
||||||
|
+- }
|
||||||
|
+-
|
||||||
|
+- InstallReferrerClient.InstallReferrerResponse.SERVICE_UNAVAILABLE -> {
|
||||||
|
+- // Connection couldn't be established.
|
||||||
|
+- }
|
||||||
|
+- }
|
||||||
|
+- // End the connection, and null out the client.
|
||||||
|
+- stop()
|
||||||
|
+- }
|
||||||
|
+-
|
||||||
|
+- override fun onInstallReferrerServiceDisconnected() {
|
||||||
|
+- // Try to restart the connection on the next request to
|
||||||
|
+- // Google Play by calling the startConnection() method.
|
||||||
|
+- referrerClient = null
|
||||||
|
+- }
|
||||||
|
+- },
|
||||||
|
+- )
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+- override fun stop() {
|
||||||
|
+- referrerClient?.endConnection()
|
||||||
|
+- referrerClient = null
|
||||||
|
+- }
|
||||||
|
++ override fun stop() { /* noop */ }
|
||||||
|
+
|
||||||
|
+ override fun track(event: Event) = Unit
|
||||||
|
+
|
||||||
|
+diff --git a/fenix/app/src/main/java/org/mozilla/fenix/home/topsites/TopSiteItemViewHolder.kt b/fenix/app/src/main/java/org/mozilla/fenix/home/topsites/TopSiteItemViewHolder.kt
|
||||||
|
+index d69f27e570..171f54a6d5 100644
|
||||||
|
+--- a/fenix/app/src/main/java/org/mozilla/fenix/home/topsites/TopSiteItemViewHolder.kt
|
||||||
|
++++ b/fenix/app/src/main/java/org/mozilla/fenix/home/topsites/TopSiteItemViewHolder.kt
|
||||||
|
+@@ -176,6 +176,12 @@ class TopSiteItemViewHolder(
|
||||||
|
+ SupportUtils.MEITUAN_URL -> {
|
||||||
|
+ binding.faviconImage.setImageDrawable(getDrawable(itemView.context, R.drawable.ic_meituan))
|
||||||
|
+ }
|
||||||
|
++ SupportUtils.FDROID_URL -> {
|
||||||
|
++ binding.faviconImage.setImageDrawable(getDrawable(itemView.context, R.drawable.ic_fdroid))
|
||||||
|
++ }
|
||||||
|
++ SupportUtils.EFF_URL -> {
|
||||||
|
++ binding.faviconImage.setImageDrawable(getDrawable(itemView.context, R.drawable.ic_eff))
|
||||||
|
++ }
|
||||||
|
+ else -> {
|
||||||
|
+ itemView.context.components.core.icons.loadIntoView(binding.faviconImage, topSite.url)
|
||||||
|
+ }
|
||||||
|
+diff --git a/fenix/app/src/main/java/org/mozilla/fenix/settings/SupportUtils.kt b/fenix/app/src/main/java/org/mozilla/fenix/settings/SupportUtils.kt
|
||||||
|
+index e867be39f2..a1667b1c2b 100644
|
||||||
|
+--- a/fenix/app/src/main/java/org/mozilla/fenix/settings/SupportUtils.kt
|
||||||
|
++++ b/fenix/app/src/main/java/org/mozilla/fenix/settings/SupportUtils.kt
|
||||||
|
+@@ -38,6 +38,8 @@ object SupportUtils {
|
||||||
|
+ const val GOOGLE_US_URL = "https://www.google.com/webhp?client=firefox-b-1-m&channel=ts"
|
||||||
|
+ const val GOOGLE_XX_URL = "https://www.google.com/webhp?client=firefox-b-m&channel=ts"
|
||||||
|
+ const val WHATS_NEW_URL = "https://www.mozilla.org/firefox/android/notes"
|
||||||
|
++ const val FDROID_URL = "https://f-droid.org/"
|
||||||
|
++ const val EFF_URL = "https://www.eff.org/"
|
||||||
|
+
|
||||||
|
+ enum class SumoTopic(internal val topicStr: String) {
|
||||||
|
+ HELP("faq-android"),
|
||||||
|
+diff --git a/fenix/app/src/main/java/org/mozilla/fenix/utils/Settings.kt b/fenix/app/src/main/java/org/mozilla/fenix/utils/Settings.kt
|
||||||
|
+index 01ed68bbe6..c35ab607f7 100644
|
||||||
|
+--- a/fenix/app/src/main/java/org/mozilla/fenix/utils/Settings.kt
|
||||||
|
++++ b/fenix/app/src/main/java/org/mozilla/fenix/utils/Settings.kt
|
||||||
|
+@@ -332,17 +332,17 @@ class Settings(private val appContext: Context) : PreferencesHolder {
|
||||||
|
+
|
||||||
|
+ var isTelemetryEnabled by booleanPreference(
|
||||||
|
+ appContext.getPreferenceKey(R.string.pref_key_telemetry),
|
||||||
|
+- default = true,
|
||||||
|
++ default = false,
|
||||||
|
+ )
|
||||||
|
+
|
||||||
|
+ var isMarketingTelemetryEnabled by booleanPreference(
|
||||||
|
+ appContext.getPreferenceKey(R.string.pref_key_marketing_telemetry),
|
||||||
|
+- default = !Config.channel.isMozillaOnline,
|
||||||
|
++ default = false,
|
||||||
|
+ )
|
||||||
|
+
|
||||||
|
+ var isExperimentationEnabled by booleanPreference(
|
||||||
|
+ appContext.getPreferenceKey(R.string.pref_key_experimentation),
|
||||||
|
+- default = true,
|
||||||
|
++ default = false,
|
||||||
|
+ )
|
||||||
|
+
|
||||||
|
+ var isOverrideTPPopupsForPerformanceTest = false
|
||||||
|
+@@ -1553,7 +1553,7 @@ class Settings(private val appContext: Context) : PreferencesHolder {
|
||||||
|
+ var showPocketRecommendationsFeature by lazyFeatureFlagPreference(
|
||||||
|
+ appContext.getPreferenceKey(R.string.pref_key_pocket_homescreen_recommendations),
|
||||||
|
+ featureFlag = FeatureFlags.isPocketRecommendationsFeatureEnabled(appContext),
|
||||||
|
+- default = { homescreenSections[HomeScreenSection.POCKET] == true },
|
||||||
|
++ default = { false },
|
||||||
|
+ )
|
||||||
|
+
|
||||||
|
+ /**
|
||||||
|
+@@ -1611,7 +1611,7 @@ class Settings(private val appContext: Context) : PreferencesHolder {
|
||||||
|
+ */
|
||||||
|
+ var showContileFeature by booleanPreference(
|
||||||
|
+ key = appContext.getPreferenceKey(R.string.pref_key_enable_contile),
|
||||||
|
+- default = true,
|
||||||
|
++ default = false,
|
||||||
|
+ )
|
||||||
|
+
|
||||||
|
+ /**
|
||||||
|
+diff --git a/fenix/app/src/main/res/values/static_strings_extra.xml b/fenix/app/src/main/res/values/static_strings_extra.xml
|
||||||
|
+new file mode 100644
|
||||||
|
+index 0000000000..101f4e0d0a
|
||||||
|
+--- /dev/null
|
||||||
|
++++ b/fenix/app/src/main/res/values/static_strings_extra.xml
|
||||||
|
+@@ -0,0 +1,8 @@
|
||||||
|
++<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||||
|
++<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
|
++ - License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
|
++ - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
||||||
|
++<resources>
|
||||||
|
++ <string name="default_top_site_fdroid" translatable="false">F-Droid</string>
|
||||||
|
++ <string name="default_top_site_eff" translatable="false">EFF</string>
|
||||||
|
++</resources>
|
||||||
|
+diff --git a/fenix/app/src/main/res/xml/preferences.xml b/fenix/app/src/main/res/xml/preferences.xml
|
||||||
|
+index 2e0366e11b..4a684b7fb6 100644
|
||||||
|
+--- a/fenix/app/src/main/res/xml/preferences.xml
|
||||||
|
++++ b/fenix/app/src/main/res/xml/preferences.xml
|
||||||
|
+@@ -133,11 +133,6 @@
|
||||||
|
+ app:iconSpaceReserved="false"
|
||||||
|
+ android:title="@string/preferences_notifications" />
|
||||||
|
+
|
||||||
|
+- <androidx.preference.Preference
|
||||||
|
+- android:key="@string/pref_key_data_choices"
|
||||||
|
+- app:iconSpaceReserved="false"
|
||||||
|
+- android:title="@string/preferences_data_collection" />
|
||||||
|
+-
|
||||||
|
+ </androidx.preference.PreferenceCategory>
|
||||||
|
+
|
||||||
|
+ <PreferenceCategory
|
||||||
|
+@@ -189,11 +184,6 @@
|
||||||
|
+ android:title="@string/preferences_category_about"
|
||||||
|
+ app:iconSpaceReserved="false"
|
||||||
|
+ android:layout="@layout/preference_category_no_icon_style">
|
||||||
|
+- <androidx.preference.Preference
|
||||||
|
+- android:key="@string/pref_key_rate"
|
||||||
|
+- app:iconSpaceReserved="false"
|
||||||
|
+- android:title="@string/preferences_rate" />
|
||||||
|
+-
|
||||||
|
+ <androidx.preference.Preference
|
||||||
|
+ android:key="@string/pref_key_about"
|
||||||
|
+ app:iconSpaceReserved="false"
|
||||||
|
+diff --git a/fenix/app/src/main/res/xml/site_permissions_details_exceptions_preferences.xml b/fenix/app/src/main/res/xml/site_permissions_details_exceptions_preferences.xml
|
||||||
|
+index 6bb8cfbbe6..1c15b5897c 100644
|
||||||
|
+--- a/fenix/app/src/main/res/xml/site_permissions_details_exceptions_preferences.xml
|
||||||
|
++++ b/fenix/app/src/main/res/xml/site_permissions_details_exceptions_preferences.xml
|
||||||
|
+@@ -3,7 +3,8 @@
|
||||||
|
+ - License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
|
+ - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
||||||
|
+ <androidx.preference.PreferenceScreen
|
||||||
|
+- xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
++ xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
++ xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||||
|
+ <androidx.preference.Preference
|
||||||
|
+ android:icon="@drawable/ic_camera_enabled"
|
||||||
|
+ android:key="@string/pref_key_phone_feature_camera"
|
||||||
|
+@@ -44,7 +45,8 @@
|
||||||
|
+ android:icon="@drawable/ic_link"
|
||||||
|
+ android:key="@string/pref_key_browser_feature_media_key_system_access"
|
||||||
|
+ android:title="@string/preference_phone_feature_media_key_system_access"
|
||||||
|
+- android:summary="@string/preference_option_phone_feature_ask_to_allow"/>
|
||||||
|
++ android:summary="@string/preference_option_phone_feature_ask_to_allow"
|
||||||
|
++ app:isPreferenceVisible="false"/>
|
||||||
|
+
|
||||||
|
+ <androidx.preference.Preference
|
||||||
|
+ android:icon="@drawable/ic_autoplay"
|
||||||
|
+diff --git a/fenix/app/src/main/res/xml/site_permissions_preferences.xml b/fenix/app/src/main/res/xml/site_permissions_preferences.xml
|
||||||
|
+index 64c90b599b..621f184e68 100644
|
||||||
|
+--- a/fenix/app/src/main/res/xml/site_permissions_preferences.xml
|
||||||
|
++++ b/fenix/app/src/main/res/xml/site_permissions_preferences.xml
|
||||||
|
+@@ -64,6 +64,7 @@
|
||||||
|
+ android:key="@string/pref_key_browser_feature_media_key_system_access"
|
||||||
|
+ android:title="@string/preference_phone_feature_media_key_system_access"
|
||||||
|
+ android:summary="@string/preference_option_phone_feature_ask_to_allow"
|
||||||
|
++ app:isPreferenceVisible="false"
|
||||||
|
+ app:allowDividerBelow="true"/>
|
||||||
|
+
|
||||||
|
+ <androidx.preference.Preference
|
||||||
|
+diff --git a/fenix/plugins/fenixdependencies/src/main/java/FenixDependenciesPlugin.kt b/fenix/plugins/fenixdependencies/src/main/java/FenixDependenciesPlugin.kt
|
||||||
|
+index fff754c099..35599805e6 100644
|
||||||
|
+--- a/fenix/plugins/fenixdependencies/src/main/java/FenixDependenciesPlugin.kt
|
||||||
|
++++ b/fenix/plugins/fenixdependencies/src/main/java/FenixDependenciesPlugin.kt
|
||||||
|
+@@ -70,9 +70,6 @@ object FenixDependencies {
|
||||||
|
+ const val protobuf_javalite = "com.google.protobuf:protobuf-javalite:${FenixVersions.protobuf}"
|
||||||
|
+ const val protobuf_compiler = "com.google.protobuf:protoc:${FenixVersions.protobuf}"
|
||||||
|
+
|
||||||
|
+- const val adjust = "com.adjust.sdk:adjust-android:${FenixVersions.adjust}"
|
||||||
|
+- const val installreferrer = "com.android.installreferrer:installreferrer:${FenixVersions.installreferrer}"
|
||||||
|
+-
|
||||||
|
+ const val mockk = "io.mockk:mockk:${FenixVersions.mockk}"
|
||||||
|
+ const val mockk_android = "io.mockk:mockk-android:${FenixVersions.mockk}"
|
||||||
|
+ const val falcon = "com.jraska:falcon:${FenixVersions.falcon}"
|
||||||
|
+@@ -97,12 +94,6 @@ object FenixDependencies {
|
||||||
|
+
|
||||||
|
+ const val mockwebserver = "com.squareup.okhttp3:mockwebserver:${FenixVersions.mockwebserver}"
|
||||||
|
+
|
||||||
|
+- const val google_ads_id = "com.google.android.gms:play-services-ads-identifier:${FenixVersions.google_ads_id_version}"
|
||||||
|
+-
|
||||||
|
+- // Required for in-app reviews
|
||||||
|
+- const val google_play_review = "com.google.android.play:review:${FenixVersions.google_play_review_version}"
|
||||||
|
+- const val google_play_review_ktx = "com.google.android.play:review-ktx:${FenixVersions.google_play_review_version}"
|
||||||
|
+-
|
||||||
|
+ const val junitApi = "org.junit.jupiter:junit-jupiter-api:${FenixVersions.junit}"
|
||||||
|
+ const val junitParams = "org.junit.jupiter:junit-jupiter-params:${FenixVersions.junit}"
|
||||||
|
+ const val junitEngine = "org.junit.jupiter:junit-jupiter-engine:${FenixVersions.junit}"
|
|
@ -1 +1 @@
|
||||||
Subproject commit 69f2dd41c44d9a8b690527493d1d423d857d5e97
|
Subproject commit 89ae956b10d2bfee7dc7832ae41ae349f25ef5b9
|
Loading…
Reference in New Issue