diff options
author | JW Wang <wangchun@google.com> | 2020-03-26 10:05:42 +0800 |
---|---|---|
committer | Philip P. Moltmann <moltmann@google.com> | 2020-10-23 15:23:01 +0000 |
commit | 67c91c405c04ed9cf10e1d2a23bded50ce94e7a0 (patch) | |
tree | ec8c184c4164d0db7777ed7a6a142723f27c6869 /rs/java/android/renderscript/ProgramFragment.java | |
parent | f86143770fdeba9a8b70b54e9710933a11a47f2a (diff) |
Add #connectWithTimeout (1/n)
Add #connectWithTimeout which allows us to specify the timeout before
giving up the connection. The method throws a TimeoutException so the
caller can catch it and retry connection again.
Note we don't change the exception spec. of #connect in order to be
source and binary compatible.
Bug: 147785023
Test: m
Change-Id: I5ac61ed0aef107f4e38166c0b95bc3a3fb419387
Merged-In: I5ac61ed0aef107f4e38166c0b95bc3a3fb419387
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragment.java')
0 files changed, 0 insertions, 0 deletions