首页 > 代码库 > android 阿拉伯语下,图库中编辑运动轨迹图片,动画中会显示绿色的图片

android 阿拉伯语下,图库中编辑运动轨迹图片,动画中会显示绿色的图片

alps/packages/apps/Camera/src/com/android/camera/FileSaver.java
1: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);

android 阿拉伯语下,图库中编辑运动轨迹图片,动画中会显示绿色的图片