Skip to content
Commit c5e249b9 authored by songjinshi's avatar songjinshi
Browse files

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: default avatarsongjinshi <songjinshi@xiaomi.com>
parent 6eb30f20
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment