queryIntentActivities

Retrieves all activities that can be performed for the given intent using appropriate API for Android Tiramisu and upwards.

Note: [PackageManager.queryIntentActivities(Intent, int)] has been deprecated starting with [Build.VERSION_CODES#TIRAMISU].

Return

A List of ResolveInfo objects containing one entry for each matching activity, ordered from best to worst. In other words, the first item is what would be returned by Intent.resolveActivity. If there are no matching activities, an empty list is returned.

Parameters

fileIntent

The desired intent as per Intent.resolveActivity.