[fenix] Fix https://github.com/mozilla-mobile/fenix/issues/5067 - Refactor ShareContr...
commit8321fdc81bfc42a5595fb30b34fa9838edfe69d8
authorPetru Lingurar <petru.lingurar@softvision.ro>
Mon, 2 Sep 2019 14:20:58 +0000 (2 17:20 +0300)
committerJeff Boek <jeff@jeffboek.com>
Tue, 3 Sep 2019 19:01:26 +0000 (3 12:01 -0700)
tree924b38a68b6293e9e32989afa17b5e0836681dfe
parente1cf02f557dc4ee20ae4069ba2afbf0788362df3
[fenix] Fix https://github.com/mozilla-mobile/fenix/issues/5067 - Refactor ShareController to use SendTabUseCases

Navigation between app fragments uses ShareTab as arguments. The newly used
SendTabUseCases uses TabData which is not Parcelable.
For minimal changes we'll keep both data classes and ShareController will know
how to map between the two.
Removed the `sessionId` property of ShareTab as it isn't needed anymore.
mobile/android/fenix/app/build.gradle
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/share/ShareController.kt
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/share/ShareFragment.kt
mobile/android/fenix/buildSrc/src/main/java/Dependencies.kt