1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-11 10:22:21 -05:00

Work around a bug in Android 4.x (?) when the system locale is turkish

See https://code.google.com/p/k9mail/issues/detail?id=4256
See https://code.google.com/p/android/issues/detail?id=31574
This commit is contained in:
cketti 2012-05-21 00:36:53 +02:00
parent 0e7a842828
commit 533afae99c

View File

@ -213,7 +213,7 @@ public class Storage implements SharedPreferences {
} }
protected void put(Map<String, String> insertables) { protected void put(Map<String, String> insertables) {
String sql = "insert into preferences_storage (primkey, value) VALUES (?, ?)"; String sql = "INSERT INTO preferences_storage (primkey, value) VALUES (?, ?)";
SQLiteStatement stmt = workingDB.get().compileStatement(sql); SQLiteStatement stmt = workingDB.get().compileStatement(sql);
for (Map.Entry<String, String> entry : insertables.entrySet()) { for (Map.Entry<String, String> entry : insertables.entrySet()) {