upgrade gradle deps
This commit is contained in:
+1
-1
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
|
||||
|
||||
@@ -18,7 +18,7 @@ pluginManagement {
|
||||
|
||||
plugins {
|
||||
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
|
||||
id "com.android.application" version '8.10.1' apply false
|
||||
id "com.android.application" version '8.11.1' apply false
|
||||
id "org.jetbrains.kotlin.android" version "2.1.20" apply false
|
||||
}
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ version = "1.0-SNAPSHOT"
|
||||
|
||||
buildscript {
|
||||
ext.kotlin_version = "2.1.20"
|
||||
ext.mozillaComponentsVersion = '140.0'
|
||||
ext.mozillaComponentsVersion = '141.0'
|
||||
|
||||
repositories {
|
||||
google()
|
||||
|
||||
+1
-1
@@ -58,5 +58,5 @@ class Components(private val context: Context,
|
||||
|
||||
val dateTimeProvider: DateTimeProvider by lazy { DefaultDateTimeProvider() }
|
||||
|
||||
//val downloadEstimator: DownloadEstimator by lazy { DownloadEstimator(dateTimeProvider = dateTimeProvider) }
|
||||
val downloadEstimator: DownloadEstimator by lazy { DownloadEstimator(dateTimeProvider = dateTimeProvider) }
|
||||
}
|
||||
+3
-5
@@ -165,10 +165,9 @@ class WebExtensionPromptFeature(
|
||||
addon = addon,
|
||||
permissions = permissions,
|
||||
origins = origins,
|
||||
// dataCollectionPermissions = emptyList(),
|
||||
dataCollectionPermissions = emptyList(),
|
||||
forOptionalPermissions = forOptionalPermissions,
|
||||
// onPositiveButtonClicked = { _, privateBrowsingAllowed, _ ->
|
||||
onPositiveButtonClicked = { _, privateBrowsingAllowed, ->
|
||||
onPositiveButtonClicked = { _, privateBrowsingAllowed, _ ->
|
||||
handlePermissions(
|
||||
promptRequest,
|
||||
granted = true,
|
||||
@@ -197,8 +196,7 @@ class WebExtensionPromptFeature(
|
||||
|
||||
private fun tryToReAttachButtonHandlersToPreviousDialog() {
|
||||
findPreviousDialogFragment()?.let { dialog ->
|
||||
// dialog.onPositiveButtonClicked = { addon, privateBrowsingAllowed, _ ->
|
||||
dialog.onPositiveButtonClicked = { addon, privateBrowsingAllowed ->
|
||||
dialog.onPositiveButtonClicked = { addon, privateBrowsingAllowed, _ ->
|
||||
store.state.webExtensionPromptRequest?.let { promptRequest ->
|
||||
if (promptRequest is WebExtensionPromptRequest.AfterInstallation.Permissions &&
|
||||
addon.id == promptRequest.extension.id
|
||||
|
||||
+1
-2
@@ -22,7 +22,6 @@ class DownloadService : AbstractFetchDownloadService() {
|
||||
override val httpClient by lazy { components.core.client }
|
||||
override val store: BrowserStore by lazy { components.core.store }
|
||||
override val notificationsDelegate: NotificationsDelegate by lazy { components.notificationsDelegate }
|
||||
override val dateTimeProvider: DateTimeProvider by lazy { components.dateTimeProvider }
|
||||
override val fileSizeFormatter: FileSizeFormatter by lazy { components.fileSizeFormatter }
|
||||
//override val downloadEstimator: DownloadEstimator by lazy { components.downloadEstimator }
|
||||
override val downloadEstimator: DownloadEstimator by lazy { components.downloadEstimator }
|
||||
}
|
||||
@@ -18,7 +18,7 @@ pluginManagement {
|
||||
|
||||
plugins {
|
||||
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
|
||||
id "com.android.application" version "8.10.0" apply false
|
||||
id "com.android.application" version "8.11.1" apply false
|
||||
id "org.jetbrains.kotlin.android" version "2.1.20" apply false
|
||||
}
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ pluginManagement {
|
||||
|
||||
plugins {
|
||||
id("dev.flutter.flutter-plugin-loader") version "1.0.0"
|
||||
id("com.android.application") version "8.10.0" apply false
|
||||
id("com.android.application") version "8.11.1" apply false
|
||||
id("org.jetbrains.kotlin.android") version "2.1.20" apply false
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user