summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorMichael Wright <michaelwr@google.com>2017-01-18 18:12:53 +0000
committerMichael Wright <michaelwr@google.com>2017-01-19 16:19:28 +0000
commit794cf190aa38dffdad9e82fc86dbd94940b175b1 (patch)
treecb8247ae67ead35b99206e4c16213ad70926f114 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent7a1f1d8a8579278048c044b7aca5d0d58ece57e4 (diff)
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions