getSourceAppName

static String getSourceAppName(@NonNull() Intent intent, @NonNull() Context context)

Retrieve the name of the app from which the Intent was received.

Return

the app's name or null

Parameters

intent

an Intent

context

Android context

Throws

if the Intent contains no Uri