Copione merged onto master
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
commit
82dd3e3684
|
@ -101,7 +101,7 @@ class BrowsersCacheTest {
|
||||||
private fun pretendBrowsersAreInstalled(
|
private fun pretendBrowsersAreInstalled(
|
||||||
browsers: List<String> = listOf(),
|
browsers: List<String> = listOf(),
|
||||||
defaultBrowser: String? = null,
|
defaultBrowser: String? = null,
|
||||||
url: String = "http://www.mozilla.org",
|
url: String = "http://www.mozilla.org/index.html",
|
||||||
browsersExported: Boolean = true,
|
browsersExported: Boolean = true,
|
||||||
defaultBrowserExported: Boolean = true
|
defaultBrowserExported: Boolean = true
|
||||||
) {
|
) {
|
||||||
|
@ -112,6 +112,7 @@ class BrowsersCacheTest {
|
||||||
val intent = Intent(Intent.ACTION_VIEW)
|
val intent = Intent(Intent.ACTION_VIEW)
|
||||||
intent.`package` = packageName
|
intent.`package` = packageName
|
||||||
intent.data = Uri.parse(url)
|
intent.data = Uri.parse(url)
|
||||||
|
intent.addCategory(Intent.CATEGORY_BROWSABLE)
|
||||||
|
|
||||||
val packageInfo = PackageInfo().apply {
|
val packageInfo = PackageInfo().apply {
|
||||||
this.packageName = packageName
|
this.packageName = packageName
|
||||||
|
@ -135,6 +136,7 @@ class BrowsersCacheTest {
|
||||||
if (defaultBrowser != null) {
|
if (defaultBrowser != null) {
|
||||||
val intent = Intent(Intent.ACTION_VIEW)
|
val intent = Intent(Intent.ACTION_VIEW)
|
||||||
intent.data = Uri.parse(url)
|
intent.data = Uri.parse(url)
|
||||||
|
intent.addCategory(Intent.CATEGORY_BROWSABLE)
|
||||||
|
|
||||||
val activityInfo = ActivityInfo().apply {
|
val activityInfo = ActivityInfo().apply {
|
||||||
exported = defaultBrowserExported
|
exported = defaultBrowserExported
|
||||||
|
|
|
@ -3,5 +3,5 @@
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
object AndroidComponents {
|
object AndroidComponents {
|
||||||
const val VERSION = "54.0.20200807130552"
|
const val VERSION = "54.0.20200810074539"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue