1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 19:52:17 -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 0bab65c2cc
commit 003069e802

View File

@ -214,7 +214,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()) {