diff options
| author | 2022-05-09 19:35:11 -0700 | |
|---|---|---|
| committer | 2022-05-10 10:41:30 -0700 | |
| commit | 1555d1d2108d3afe89968eb7aa76f16062d20811 (patch) | |
| tree | 073e69782c7dc64a38a03224720d4b0492e04730 /libs/androidfw/StringPool.cpp | |
| parent | f50f5235b0416acd32f0e4b679a1aba2f89f2d79 (diff) | |
Add wrappers around IO functions to check the return values
Os.read and Os.write don't throw exceptions if
`fd` is closed on the other end.
Bug: 231345789
Test: save a snapshot
Test: use clipboard both, check if there is no
Test: infinite loops which sets the clipboard
Signed-off-by: Roman Kiryanov <rkir@google.com>
Change-Id: If98fb3adf58f2e4e13d483b78ea05ea9d8d61b58
Merged-In: If98fb3adf58f2e4e13d483b78ea05ea9d8d61b58
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions