[fenix] Bug 1812518 - Show the 3rd party download dialog as an Android View
commite6f72553090fa38b0160440c42466dee191132cb
authorMugurell <Mugurell@users.noreply.github.com>
Wed, 18 Jan 2023 11:06:38 +0000 (18 13:06 +0200)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 26 Jan 2023 14:43:04 +0000 (26 14:43 +0000)
treed2a7de9873d20be8826ad8f639ceb00598c07d75
parent76bb2c81b667127675c0b2e75e8237601cfcd3ef
[fenix] Bug 1812518 - Show the 3rd party download dialog as an Android View

This uses the same direction as the before patch - inflating a new View that
can then serve as an anchor for the Snackbar.
Here we could use directly the AC layout as it needed no special customization.
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/browser/BaseBrowserFragment.kt
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/downloads/StartDownloadDialog.kt
mobile/android/fenix/app/src/test/java/org/mozilla/fenix/downloads/ThirdPartyDownloadDialogTest.kt [new file with mode: 0644]