1
0
Fork 0
fenix/app/src/main/java/org/mozilla/fenix/components
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
..
history For #4137 - Adds pagination to the history view 2019-07-31 14:35:33 -07:00
metrics No issue: Fixes GleanMetricsService nits & broken UI test (#5539) 2019-09-24 16:12:09 -07:00
toolbar Only use Context.settings() function (not getter) (#5335) 2019-09-24 10:33:46 -07:00
Analytics.kt Only use Context.settings() function (not getter) (#5335) 2019-09-24 10:33:46 -07:00
BackgroundServices.kt For #5552 - Temporary fix for startup crash on es locales 2019-09-24 19:21:47 -07:00
Components.kt For #1744: Adds tests for clipboard 2019-09-19 08:24:27 -07:00
Core.kt Only use Context.settings() function (not getter) (#5335) 2019-09-24 10:33:46 -07:00
FenixSnackbar.kt For 5092 - Show a Snackbar with retry option if sharing to devices fails (#5158) 2019-09-26 12:30:28 -07:00
FindInPageIntegration.kt For #5174 Changed FindInPage height to toolbar height to cover QAB (#5376) 2019-09-17 05:47:17 -07:00
FirebasePush.kt For #3015: Add push support for send tab 2019-07-15 16:38:49 -04:00
InflationAwareFeature.kt Fix #4856 - Propagate LifecycleAwareFeature's onStart() to the inner feature 2019-09-06 14:20:02 -04:00
IntentProcessors.kt For #778 - Rename CustomTabActivity 2019-09-20 12:35:12 -07:00
NotificationManager.kt For #3505: Opening a sent tab crashes Fenix (#3507) 2019-06-27 10:47:54 -05:00
PermissionStorage.kt No issue: Normalize license header comment (#3909) 2019-07-12 11:38:15 -07:00
PrivateShortcutCreateManager.kt For #419: Create launch icon for private browsing (#4948) 2019-09-11 10:52:33 -07:00
Search.kt Only use Context.settings() function (not getter) (#5335) 2019-09-24 10:33:46 -07:00
Services.kt FxA WebChannels integration 2019-09-16 19:44:13 -07:00
StoreProvider.kt No issue: Removes deprecated usage of ViewModelProviders 2019-08-07 19:21:41 -04:00
TabCollectionStorage.kt Closes #3332 - Do not alter text of hosts of tabs in collection 2019-07-17 09:02:30 -07:00
UseCases.kt Use new feature-contextmenu API. 2019-09-16 17:24:13 +02:00