From 533afae99c734a658daab4810c3cfc1901559ac2 Mon Sep 17 00:00:00 2001 From: cketti Date: Mon, 21 May 2012 00:36:53 +0200 Subject: [PATCH] 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 --- src/com/fsck/k9/preferences/Storage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/fsck/k9/preferences/Storage.java b/src/com/fsck/k9/preferences/Storage.java index 34c978754..d3244866c 100644 --- a/src/com/fsck/k9/preferences/Storage.java +++ b/src/com/fsck/k9/preferences/Storage.java @@ -213,7 +213,7 @@ public class Storage implements SharedPreferences { } protected void put(Map 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); for (Map.Entry entry : insertables.entrySet()) {