revert getUriForFile

This commit is contained in:
Chumva 2018-05-22 13:00:39 +03:00
parent c131edaf5e
commit 7d86ef6a46

View file

@ -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) {