summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJohn Eckerdal <john.eckerdal@sonyericsson.com>2010-06-02 10:59:46 +0200
committerJohan Redestig <johan.redestig@sonyericsson.com>2010-06-02 10:59:46 +0200
commitdad86349bea3aec1d48793adc61b446f82311d15 (patch)
treebaab931f7e80fc366485c5b79493f0f4706dac9c /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parentd6c1919779acb042392615637b9007e0c4b89023 (diff)
Add better error handling for savePicture and restorePicture
If an Exception occurs when storing the file treat this as an error and always fail to try to prevent corrupted pictures to be stored to the file system. Close files if they were opened, the caller might want to perform other file operations on the file and if it is still open these may fail. Change-Id: Ic68596b5c745bbe413096c22684c388e853a7643
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions