Skip to content

Commit

Permalink
fix: Outdated authority of FileSharingProvider
Browse files Browse the repository at this point in the history
Change-Id: I5eeb98a552c2070e768beb80507b7a1901e258bd
  • Loading branch information
XayahSuSuSu committed Jan 25, 2024
1 parent 924804b commit f251af8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ object LogUtil {

fun shareLog(context: Context, name: String) {
val sharingLog = File(cacheDir, name)
val sharingUri = getUriForFile(context, "com.xayah.core.util.provider.FileSharingProvider", sharingLog)
val sharingUri =
getUriForFile(context, "com.xayah.core.provider.FileSharingProvider.${BuildConfigUtil.FLAVOR_feature.lowercase()}", sharingLog)
val sharingIntent = Intent().apply {
action = Intent.ACTION_SEND
type = "*/*"
Expand Down

0 comments on commit f251af8

Please sign in to comment.