Hi,
several users of my app CardDAV-Sync have problems with MIUI. This issue is caused by a bug in your contacts provider. The error occurs when my app commits a chunk of contacts (with ContentResolver.applyBatch). Here is the error message:
android.database.sqlite.SQLiteException: ambiguous column name: _id (code 1): , while compiling: SELECT deleted, account_id, accounts.account_type, accounts.account_name, accounts.data_set FROM raw_contacts JOIN accounts ON (accounts._id=raw_contacts.account_id) WHERE _id = ?
Since that is a remote operation the stack trace doesn't contain any information where in your code this error occurs, but I think you should be able to locate this SELECT statement.
cheers
Marten
several users of my app CardDAV-Sync have problems with MIUI. This issue is caused by a bug in your contacts provider. The error occurs when my app commits a chunk of contacts (with ContentResolver.applyBatch). Here is the error message:
android.database.sqlite.SQLiteException: ambiguous column name: _id (code 1): , while compiling: SELECT deleted, account_id, accounts.account_type, accounts.account_name, accounts.data_set FROM raw_contacts JOIN accounts ON (accounts._id=raw_contacts.account_id) WHERE _id = ?
Since that is a remote operation the stack trace doesn't contain any information where in your code this error occurs, but I think you should be able to locate this SELECT statement.
cheers
Marten