1
0
Fork 0

For #2078 - Filter Out Self in Share Sheet (#5641)

master
Emily Kager 2019-09-30 12:43:47 -07:00 committed by Sawyer Blatz
parent c8af16bd47
commit e9a0f1f65d
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ class ShareFragment : AppCompatDialogFragment() {
resolveInfo.activityInfo.packageName,
resolveInfo.activityInfo.name
)
}.orEmpty()
}?.filter { it.packageName != context.packageName }.orEmpty()
}
@Suppress("ReturnCount")