Using android Cursor instead of sqlcipher cursor

Hi,

Is it expected that we use Android’s Cursor (android.database.cursor) instead of SQLCipher’s (net.sqlcipher.Cursor) when using Content Providers methods? For example:

Cursor last_foreground = getContentResolver().query(.... 

Leads to a compilation error due to the different classes:
Error:(157, 64) error: incompatible types: android.database.Cursor cannot be converted to net.sqlcipher.Cursor

Thanks

Hi @Julio

Yes, you will want to use the android.database.Cursor type instead in that use case.