mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-21 13:48:11 +00:00
Prevent crash
This commit is contained in:
parent
28f2e2ed51
commit
14337f21a4
1 changed files with 1 additions and 0 deletions
|
|
@ -597,6 +597,7 @@ public final class LinphoneUtils {
|
|||
|
||||
|
||||
public static String getFilePath(final Context context, final Uri uri) {
|
||||
if (uri == null) return null;
|
||||
String result = null;
|
||||
Cursor returnCursor =
|
||||
context.getContentResolver().query(uri, null, null, null, null);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue