mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-17 15:26:23 +00:00
[fenix] Fix breaking API in WebNotificationFeature
This commit is contained in:
parent
890963491c
commit
850d3fa90f
@ -42,7 +42,6 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
def releaseTemplate = {
|
def releaseTemplate = {
|
||||||
signingConfig signingConfigs.debug
|
|
||||||
shrinkResources true
|
shrinkResources true
|
||||||
minifyEnabled true
|
minifyEnabled true
|
||||||
proguardFiles 'proguard-android-optimize-3.5.0-modified.txt', 'proguard-rules.pro'
|
proguardFiles 'proguard-android-optimize-3.5.0-modified.txt', 'proguard-rules.pro'
|
||||||
|
@ -58,9 +58,7 @@ class FennecWebAppIntentProcessor(
|
|||||||
val url = safeIntent.dataString
|
val url = safeIntent.dataString
|
||||||
|
|
||||||
return if (!url.isNullOrEmpty() && matches(intent)) {
|
return if (!url.isNullOrEmpty() && matches(intent)) {
|
||||||
runBlocking {
|
val webAppManifest = runBlocking { loadManifest(safeIntent, url) }
|
||||||
|
|
||||||
val webAppManifest = loadManifest(safeIntent, url)
|
|
||||||
|
|
||||||
val session = Session(url, private = false, source = Source.HOME_SCREEN)
|
val session = Session(url, private = false, source = Source.HOME_SCREEN)
|
||||||
session.webAppManifest = webAppManifest
|
session.webAppManifest = webAppManifest
|
||||||
@ -78,7 +76,6 @@ class FennecWebAppIntentProcessor(
|
|||||||
}
|
}
|
||||||
|
|
||||||
true
|
true
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
false
|
false
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user