summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorChiachang Wang <chiachangwang@google.com>2021-01-15 11:06:21 +0800
committerChiachang Wang <chiachangwang@google.com>2021-01-18 01:58:49 +0000
commit8636d9f5e5b0447d38fe844fc30783cad8898c85 (patch)
tree736e048034185e3e12275495a434fa5fd791ba05 /rs/java/android/renderscript/ProgramStore.java
parentf0341dc38b9d2a7b055c29e9dbb834cfc0434c61 (diff)
Replace hidden ParcelFileDescriptor constructor usage
If IOException happens while trying to start keepalives sockets, an invalid fd will be constructed. It will fail with ERROR_INVALID_SOCKET if the user later calls start(). Current design to construct the invalid fd use the hidden ParcelFileDescriptor constructor which will not work for the incoming ConnectivityService mainline. Thus, replace it with the other formal API. Bug: 170598012 Test: atest FrameworksNetTests Change-Id: I57fd7ec2281c5e8c75481200bbde723ecf96982a
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions