Taras Antoshchuk e6cf914c3f Don't throw in socket_read if socket_read_all returns < 0.
All codepaths in socket_read_all that return a negative value have
already thrown an exception. socket_read should not throw again.

This causes debuggagle apps to crash with a JNI failure if
LocalSocket#read gets an error.

Test: atest CtsNetTestCases
Bug: 229813087
Change-Id: I2a04a799d3748c221f8555fa7afc40d73f0f392c
2022-05-15 18:03:55 +00:00
2022-04-14 21:57:52 +00:00
…
2022-03-28 09:25:17 -07:00
2022-05-09 21:21:04 +00:00
2021-05-13 08:24:32 +00:00
2022-04-01 16:46:46 +00:00
2021-11-04 14:44:07 +00:00
2022-03-31 19:37:56 -07:00
2022-05-11 21:11:57 +00:00
…
2022-01-05 13:13:50 +00:00
…
…
2022-03-07 08:44:25 +00:00
Description
No description provided
21 GiB
Languages
Java 73.7%
Kotlin 14%
PowerBuilder 5.8%
C++ 5.2%
AIDL 1%