Resolved Bug MIUI 12 20.7.9


Colder1989

Members
Jul 15, 2020
55
20
Hi all, i have a bug on my mi 10 Youth edition (Lite Zoom)..
The "note" app, Always crash..
even if I am not using it, I always get a notification that the application crashes.
If i open the note app, i don't have any problem
LOG:
android.database.sqlite.SQLiteException: near "attività": syntax error (code 1 SQLITE_ERROR): , while compiling: delete from todo WHERE plain_text =
at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(Unknown Source:19)
at android.database.sqlite.SQLiteConnection.prepare(Unknown Source:12)
at android.database.sqlite.SQLiteSession.prepare(Unknown Source:12)
at android.database.sqlite.SQLiteProgram.<init>(Unknown Source:47)
at android.database.sqlite.SQLiteStatement.<init>(Unknown Source:1)
at android.database.sqlite.SQLiteDatabase.executeSql(Unknown Source:41)
at android.database.sqlite.SQLiteDatabase.execSQL(Unknown Source:1)
at com.miui.todo.data.utils.GuideUtils.deleteGuideTodo(Unknown Source:68)
at com.miui.todo.cloudservice.TodoSyncManager.downloadSort(Unknown Source:154)
at com.miui.todo.cloudservice.TodoSyncManager.sync(Unknown Source:16)
at com.miui.todo.cloudservice.TodoServiceAdapter.onPerformMiCloudSync(Unknown Source:122)
at com.miui.notes.cloudservice.NotesSyncAdapter.performMiCloudSync(Unknown Source:53)
at com.miui.notes.cloudservice.NotesSyncAdapter.onPerformMiCloudSync(Unknown Source:90)
at com.xiaomi.micloudsdk.sync.SyncAdapterBase.onPerformSync(Unknown Source:366)
at android.content.AbstractThreadedSyncAdapter$SyncThread.run(Unknown Source:148)
 
Issue patched until Xiaomi fixes this nonsense. You should file a bug report on official Mi Community as well, tell them to escape their queries properly in GuideUtils.deleteGuideTodo...