android 阿拉伯语下,图库中编辑运动轨迹图片,动画中会显示绿色的图片
投稿于 被查看 31981 次 评论:204
android 阿拉伯语下,图库中编辑运动轨迹图片,动画中会显示绿色的图片
alps/packages/apps/Camera/src/com/android/camera/FileSaver.java1:import java.util.Locale;
2:modify the function:
public void refactoerTitle() {
......
if (mTag != INTERMEDIA_IMAGE) {
// if the data is InterMedia file,the file name not
// have the index
mTitle += String.format("%02d", mIndex);
}
setIgnoreThumbnail(true);
}
changed to :
public void refactoerTitle() {
......
if (mTag != INTERMEDIA_IMAGE) {
// if the data is InterMedia file,the file name not
// have the index
mTitle += String.format(Locale.ENGLISH, "%02d", mIndex); //here need to change
}
setIgnoreThumbnail(true);
}
用户评论