summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorsongjinshi <songjinshi@xiaomi.com>2016-07-27 20:36:46 +0800
committersongjinshi <songjinshi@xiaomi.com>2016-08-02 09:47:09 +0800
commitc5e249b9e06b3637a2931b338b5d5ce7b7cfb1e5 (patch)
treed127a37d3fb95ba2951ce584b01fac91563cd5a9 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent6eb30f206085c6d6f036d0f6ec9b3b7c200feda9 (diff)
Fixes the system server crash issue caused by uncatched exception.
The restat method of the StatFs may throw an IllegalArgumentException, so we must to catch it and throw an IOException for the caller of the trimToFit(),this fix can improve system stability. https://code.google.com/p/android/issues/detail?id=218359 Change-Id: I54a2f569eea67d3ab628944e3586ca918ec70283 Signed-off-by: songjinshi <songjinshi@xiaomi.com>
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions