1
0
Fork 0

Fix breaking API in WebNotificationFeature

master
Jonathan Almeida 2020-06-26 02:25:10 -04:00 committed by Jonathan Almeida
parent ff5d00362b
commit b7d989a588
2 changed files with 13 additions and 17 deletions

View File

@ -42,7 +42,6 @@ android {
}
def releaseTemplate = {
signingConfig signingConfigs.debug
shrinkResources true
minifyEnabled true
proguardFiles 'proguard-android-optimize-3.5.0-modified.txt', 'proguard-rules.pro'

View File

@ -58,9 +58,7 @@ class FennecWebAppIntentProcessor(
val url = safeIntent.dataString
return if (!url.isNullOrEmpty() && matches(intent)) {
runBlocking {
val webAppManifest = loadManifest(safeIntent, url)
val webAppManifest = runBlocking { loadManifest(safeIntent, url) }
val session = Session(url, private = false, source = Source.HOME_SCREEN)
session.webAppManifest = webAppManifest
@ -78,7 +76,6 @@ class FennecWebAppIntentProcessor(
}
true
}
} else {
false
}