diff options
| author | 2022-05-09 19:35:11 -0700 | |
|---|---|---|
| committer | 2022-05-09 20:14:39 -0700 | |
| commit | 8883415f717e4d7c024fd0bf8947bbb82940c4cb (patch) | |
| tree | 3b185ff43f70c987719a313b73ca2ee951fc64af /libs/androidfw/StringPool.cpp | |
| parent | 3c7a3e397fcbe669a15d85c727e66330e0ae5c81 (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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions