|
|
|
@ -130,6 +130,7 @@ import mozilla.components.feature.webauthn.WebAuthnFeature
|
|
|
|
|
import mozilla.components.support.base.feature.ActivityResultHandler
|
|
|
|
|
import mozilla.components.support.ktx.android.view.enterToImmersiveMode
|
|
|
|
|
import mozilla.components.support.ktx.kotlin.getOrigin
|
|
|
|
|
import org.mozilla.fenix.GleanMetrics.Downloads
|
|
|
|
|
import org.mozilla.fenix.components.toolbar.interactor.BrowserToolbarInteractor
|
|
|
|
|
import org.mozilla.fenix.components.toolbar.interactor.DefaultBrowserToolbarInteractor
|
|
|
|
|
import org.mozilla.fenix.crashes.CrashContentIntegration
|
|
|
|
@ -517,6 +518,10 @@ abstract class BaseBrowserFragment :
|
|
|
|
|
|
|
|
|
|
dynamicDownloadDialog.show()
|
|
|
|
|
browserToolbarView.expand()
|
|
|
|
|
|
|
|
|
|
if (downloadState.contentType == "application/pdf") {
|
|
|
|
|
Downloads.pdfDownloadCount.add()
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|