[Android] Do not use LOCALE.ROOT since this is only API > 9
Jean-Baptiste Kempf
git at videolan.org
Wed Jul 4 13:30:43 CEST 2012
android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Jul 4 13:30:22 2012 +0200| [83d7e1e9ce89c30dea1f84623cd317735feecd22] | committer: Jean-Baptiste Kempf
Do not use LOCALE.ROOT since this is only API > 9
> http://git.videolan.org/gitweb.cgi/android.git/?a=commit;h=83d7e1e9ce89c30dea1f84623cd317735feecd22
---
vlc-android/src/org/videolan/vlc/DatabaseManager.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/DatabaseManager.java b/vlc-android/src/org/videolan/vlc/DatabaseManager.java
index edd0848..7a55530 100644
--- a/vlc-android/src/org/videolan/vlc/DatabaseManager.java
+++ b/vlc-android/src/org/videolan/vlc/DatabaseManager.java
@@ -305,7 +305,7 @@ public class DatabaseManager {
do {
count = 0;
- cursor = mDb.rawQuery(String.format(Locale.ROOT,
+ cursor = mDb.rawQuery(String.format(Locale.US,
"SELECT %s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s FROM %s LIMIT %d OFFSET %d",
MEDIA_TIME, //0 long
MEDIA_LENGTH, //1 long
More information about the Android
mailing list