Fix breaking API changes of latest AC snapshot.
parent
b8ab51318e
commit
951a5dfbad
|
@ -35,7 +35,7 @@ class FenixApplication : Application() {
|
||||||
|
|
||||||
private fun setupGlean(context: Context) {
|
private fun setupGlean(context: Context) {
|
||||||
Glean.initialize(context)
|
Glean.initialize(context)
|
||||||
Glean.setMetricsEnabled(BuildConfig.TELEMETRY)
|
Glean.setUploadEnabled(BuildConfig.TELEMETRY)
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun loadExperiments() {
|
private fun loadExperiments() {
|
||||||
|
|
|
@ -166,7 +166,7 @@ class BrowserFragment : Fragment(), BackHandler {
|
||||||
@SuppressWarnings("ReturnCount")
|
@SuppressWarnings("ReturnCount")
|
||||||
override fun onBackPressed(): Boolean {
|
override fun onBackPressed(): Boolean {
|
||||||
if (findInPageIntegration.onBackPressed()) return true
|
if (findInPageIntegration.onBackPressed()) return true
|
||||||
if (sessionFeature.handleBackPressed()) return true
|
if (sessionFeature.onBackPressed()) return true
|
||||||
if (customTabsToolbarFeature.onBackPressed()) return true
|
if (customTabsToolbarFeature.onBackPressed()) return true
|
||||||
|
|
||||||
// We'll want to improve this when we add multitasking
|
// We'll want to improve this when we add multitasking
|
||||||
|
|
Loading…
Reference in New Issue