Files
frameworks_base/core/java/android/database
Michael Wright 794cf190aa Also parse "1" as true for ContentValues#getAsBoolean
SQLite's internal representation for booleans is an integer with a value
of 0 or 1, so without this check, boolean values obtained via
DatabaseUtils#cursorRowToContentValues will always return false.

Bug: 34365384
Test: demo app, cts
Change-Id: I6c0829c992252ca5ee16bd5eac48668507fd4089
2017-01-19 16:19:28 +00:00
..