Android API level 30 is the first version of Android that includes a version of SQLite that supports the boolean literals "TRUE" and "FALSE". See documentation for SQLite datatypes and Android SQLite versions.

On lower API levels, the equivalent integer literals 1 (TRUE) and 0 (FALSE) should be used instead.