Don't use a chooser for other intents than opening a content in a browser or sharing a content to other apps

Use an ACTION_CHOOSER intent has a negative impact for user experience, because user cannot set as default an activity for an intent
This commit is contained in:
TiA4f8R 2021-04-02 18:48:58 +02:00
parent 373fed5152
commit 0dcd1360a9
3 changed files with 12 additions and 30 deletions

View file

@ -19,7 +19,6 @@ import java.util.Objects
*/
class LicenseFragment : Fragment() {
private lateinit var softwareComponents: Array<SoftwareComponent>
private var componentForContextMenu: SoftwareComponent? = null
private var activeLicense: License? = null
private val compositeDisposable = CompositeDisposable()