diff options
| author | 2022-05-09 19:35:11 -0700 | |
|---|---|---|
| committer | 2022-05-12 21:57:25 -0700 | |
| commit | 6edf57328b501733c24370ae60acd63a781644be (patch) | |
| tree | 40301d438e2c0500a9a2a658f4ad2a3c9508bfc7 /libs/androidfw/StringPool.cpp | |
| parent | e1340d674b0fb66836c11b5743be51e0f8cf2d93 (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
Bug: 232284244
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