commit | c5e249b9e06b3637a2931b338b5d5ce7b7cfb1e5 | [log] [tgz] |
---|---|---|
author | songjinshi <songjinshi@xiaomi.com> | Wed Jul 27 20:36:46 2016 +0800 |
committer | songjinshi <songjinshi@xiaomi.com> | Tue Aug 02 09:47:09 2016 +0800 |
tree | d127a37d3fb95ba2951ce584b01fac91563cd5a9 | |
parent | 6eb30f206085c6d6f036d0f6ec9b3b7c200feda9 [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>