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
..
2016-10-07 13:23:31 -07:00
2015-04-09 19:48:11 -07:00
2011-10-12 22:19:41 -07:00
2012-03-14 18:51:07 -07:00
2012-03-14 18:51:07 -07:00
2015-04-09 19:48:10 -07:00
2009-03-03 19:31:44 -08:00
2012-01-23 17:28:29 -08:00
2014-08-26 18:19:13 -07:00
2011-10-13 14:24:26 -07:00
2011-11-08 20:24:21 -08:00
2016-05-24 15:22:55 -07:00
2009-03-03 19:31:44 -08:00
2016-09-16 15:28:42 -07:00
2014-08-26 18:19:13 -07:00
2013-04-23 08:30:34 +10:00
2014-05-07 23:00:28 +08:00
2011-10-06 14:40:13 -07:00
2015-04-09 19:48:11 -07:00
2015-03-24 21:51:20 -04:00
2017-01-19 16:19:28 +00:00
2012-01-23 13:01:18 -08:00
2009-03-03 19:31:44 -08:00
2015-03-24 21:51:20 -04:00
2012-03-14 18:51:07 -07:00
2014-08-26 18:19:13 -07:00
2013-09-09 17:55:10 -07:00
2010-06-02 17:40:41 -07:00
2012-01-23 13:01:18 -08:00
2009-03-03 19:31:44 -08:00
2012-03-15 16:02:58 -07:00
2009-03-03 19:31:44 -08:00