Fix the bug that EXIF attributes are always cached.

b2039501
This commit is contained in:
Wu-cheng Li
2009-08-11 23:35:28 +08:00
parent e6034f6cd8
commit b826bf9182

View File

@@ -128,7 +128,10 @@ public class ExifInterface {
}
public void setFilename(String filename) {
mFilename = filename;
if (mFilename == null || !mFilename.equals(filename)) {
mFilename = filename;
mCachedAttributes = null;
}
}
/**