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

Skip to content
Commit 1437c7e7 authored by Brett Chabot's avatar Brett Chabot
Browse files

Add null checks in CursorWindow#put{String,Blob}.

Currently passing null values to putString or putBlob will
crash in native code, which is not a great developer experience.

This commit adds null checks so the java layer will throw NPEs.

Flag: EXEMPT bugfix
Test: atest android.database.CursorWindow
Bug: 351839899
Change-Id: Ic4f1c55d0edb56fa08fabf4be6193afb6e86c3e6
parent b283f3d3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment