1
0
Fork 0
fenix/app
Mugurell c5330c6880 For 5092 - Show a Snackbar with retry option if sharing to devices fails (#5158)
* For #5092 - Show a Snackbar with retry option if sharing to devices fails

ShareController will contain all the business logic for checking the result
status of the `share to device` operations. When this fails it will show a
snackbar which also offer the possibility to retry the just failed operation.
To allow this even in the event the user has closed the share fragment we'll
use a GlobalScope's coroutine.
Refactored out the TabsSharedCallback from ShareFragment because otherwise we
would have neede to sent through that the just failed operation. After the
refactor the ShareController is solely responsable for showing the right
snackbar and handling the retry actions.

* For #5092 - Refactor ShareControllerTest

* For #5092: Adds color theming of snackbars
2019-09-26 12:30:28 -07:00
..
src For 5092 - Show a Snackbar with retry option if sharing to devices fails (#5158) 2019-09-26 12:30:28 -07:00
.gitignore Initializes Android project 2018-12-07 15:25:38 -05:00
build.gradle Add the workmanager dependency to enable testing with Glean 2019-09-24 12:33:14 -07:00
lint.xml Fixes #1890 - Remove unused strings (#1891) 2019-04-22 11:24:49 -07:00
metrics.yaml For #5312 - Add Telemetry for Tracking Protection 2019-09-23 08:29:45 -07:00
pings.yaml Add pings.yaml metadata 2019-05-20 13:26:40 -07:00
proguard-rules.pro For #4064: Old R8 & keep rules are inhibiting optimizations (#4930) 2019-08-29 10:16:26 -05:00