Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b47a9a93 authored by jinwu's avatar jinwu Committed by LuK1337
Browse files

Fix FC of parsing uri is null

Add judgement to check if uri is null or not.

Change-Id: I95d79253bce67c6a088a79bffd1bbb9a419ec437
parent a674df50
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -64,6 +64,7 @@ public class GDepth {

        public boolean parse(Context context, Uri uri) {
            InputStream is = null;
            if (uri == null) return valid();
            try {
                is = context.getContentResolver().openInputStream(uri);
                XMPStream stream = new XMPStream(is);