1
0
Fork 0
fenix/app/src/main/java/org/mozilla/fenix
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
..
browser For #5568 - Don't pass in Session for QuickActionSheetController 2019-09-25 13:33:38 -07:00
collections For #4877: Restored logic for closing tabs when not on browserFragment 2019-09-10 21:42:16 -07:00
components For 5092 - Show a Snackbar with retry option if sharing to devices fails (#5158) 2019-09-26 12:30:28 -07:00
crashes Only use Context.settings() function (not getter) (#5335) 2019-09-24 10:33:46 -07:00
customtabs Only use Context.settings() function (not getter) (#5335) 2019-09-24 10:33:46 -07:00
downloads Closes #1657 - Use Gecko for downloads (#4296) 2019-08-02 17:28:30 -07:00
exceptions For #5312 - Add Telemetry for Tracking Protection 2019-09-23 08:29:45 -07:00
ext Only use Context.settings() function (not getter) (#5335) 2019-09-24 10:33:46 -07:00
home For #2874, #5375, #5131 - submitList workaround for Android 5 + 6 2019-09-25 19:59:07 -07:00
lib Remove redundant super calls 2019-07-29 10:22:53 -07:00
library Move BookmarkNode extensions to helper class (#4752) 2019-09-24 09:17:29 -07:00
onboarding Only use Context.settings() function (not getter) (#5335) 2019-09-24 10:33:46 -07:00
quickactionsheet For #5568 - Don't pass in Session for QuickActionSheetController 2019-09-25 13:33:38 -07:00
search Only use Context.settings() function (not getter) (#5335) 2019-09-24 10:33:46 -07:00
session For #5075 - Fix boolean error for private mode notification persistence (#5120) 2019-09-05 09:21:56 -07:00
settings For #5312 - Send ETP Strict/Standard event 2019-09-25 15:23:30 -07:00
share For 5092 - Show a Snackbar with retry option if sharing to devices fails (#5158) 2019-09-26 12:30:28 -07:00
shortcut For #5047 - Addresses nits 2019-09-11 16:10:54 -07:00
theme Move classes out of top-level package 2019-08-21 13:52:30 -07:00
trackingprotection For #5281 - Use TrackerLog for reporting ETP categories (#5556) 2019-09-25 10:48:06 -07:00
utils For #561: Fix stutter of search icon & text when animating 2019-09-25 10:06:38 -07:00
whatsnew For #4474: Adds what's new button to home screen menu (#5088) 2019-09-03 15:16:29 -05:00
widget Only use Context.settings() function (not getter) (#5335) 2019-09-24 10:33:46 -07:00
AppRequestInterceptor.kt Only use Context.settings() function (not getter) (#5335) 2019-09-24 10:33:46 -07:00
BrowserDirection.kt Add Tracking Protection Info Panel 2019-09-11 07:47:13 -07:00
Config.kt No issue: Normalize license header comment (#3909) 2019-07-12 11:38:15 -07:00
Experiments.kt FxA WebChannels integration 2019-09-16 19:44:13 -07:00
FeatureFlags.kt Add note about lazy in FeatureFlags 2019-09-20 08:33:29 -07:00
FenixApplication.kt No issue: Fixes GleanMetricsService nits & broken UI test (#5539) 2019-09-24 16:12:09 -07:00
FenixViewModelProvider.kt For #4529, #4427: Resuming after restoring instance state breaks UI (#4571) 2019-08-08 11:05:01 -05:00
GlobalDirections.kt For #4779 : Don't double navigate with global directions in HomeActivity 2019-08-23 12:01:28 -04:00
HomeActivity.kt For 5092 - Show a Snackbar with retry option if sharing to devices fails (#5158) 2019-09-26 12:30:28 -07:00
IntentReceiverActivity.kt Closes #5444: IntentReceiverActivity: Add tests for intent processing 2019-09-20 19:44:05 -04:00