revert getUriForFile
This commit is contained in:
parent
c131edaf5e
commit
7d86ef6a46
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ public class AndroidUtils {
|
|||
}
|
||||
|
||||
public static Uri getUriForFile(Context context, File file) {
|
||||
return FileProvider.getUriForFile(context, "net.osmand.plus.fileprovider", file);
|
||||
return FileProvider.getUriForFile(context, context.getPackageName() + ".fileprovider", file);
|
||||
}
|
||||
|
||||
public static Spannable replaceCharsWithIcon(String text, Drawable icon, String[] chars) {
|
||||
|
|
Loading…
Reference in a new issue