commit | 9b1aeae7306cfd19e0c4704db5807edf8c0c14b7 | [log] [tgz] |
---|---|---|
author | Jin Qian <jinqian@google.com> | Tue Mar 14 11:20:02 2017 -0700 |
committer | Jin Qian <jinqian@google.com> | Tue Mar 14 11:20:02 2017 -0700 |
tree | 332f5471e529fd12e5f7eff2c838dc558e0ff1b0 | |
parent | 4f5206d2ea0a481929b33204eb08c657fd660e8f [diff] |
storaged: replace string functions that can throw exception android coding style doesn't allow exception handling which leads to crash when any function throws exception. Replace such functions in storaged to gracefully handle invalid inputs. Test: adb shell dumpsys storaged --hours N --time_window 300 Bug: 36131658 Change-Id: I36be1b49c4d9977a01d1bd4c9ca57d49322d95f4