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

Commit 51f15151 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add null check"

parents 782ac9dd 3eb4baaf
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -535,7 +535,9 @@ public class Content {
        @Override
        @Override
        public void onExecute(IContentProvider provider) throws Exception {
        public void onExecute(IContentProvider provider) throws Exception {
            Bundle result = provider.call(null, mMethod, mArg, mExtras);
            Bundle result = provider.call(null, mMethod, mArg, mExtras);
            final int size = result.size(); // unpack
            if (result != null) {
                result.size(); // unpack
            }
            System.out.println("Result: " + result);
            System.out.println("Result: " + result);
        }
        }
    }
    }