1
0
Fork 0

Fix breaking API changes of latest AC snapshot.

master
Sebastian Kaspari 2019-02-08 11:43:32 +01:00 committed by Emily Kager
parent b8ab51318e
commit 951a5dfbad
2 changed files with 2 additions and 2 deletions

View File

@ -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() {

View File

@ -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