deduceActivityType
fun deduceActivityType(context: Context, preferredType: ActivityType?): ActivityType
Content copied to clipboard
Picks the best available ActivityType based on current system environment.
Return
A deduced ActivityType.
Parameters
preferredType
An ActivityType to give a priority (defaults to ActivityType.CUSTOM_TABS if null
).