diff options
author | Hall Liu <hallliu@google.com> | 2018-06-25 19:48:33 -0700 |
---|---|---|
committer | Hall Liu <hallliu@google.com> | 2018-06-25 19:48:33 -0700 |
commit | 730a25995efb2b5646a5d42ce83cfc3dbef6ee74 (patch) | |
tree | 0c75f7608c66d081d25c1b2bf74bb3d39c4654cc /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | d7c87b74d9cb8d1c334368316aee010635b18446 (diff) |
Make RttTextStream's read interruptible
Wrap the FileInputStream in a java.nio.Channel so that sending a
Thread.interrupt() to the thread blocked on the read will actually do
something.
Change-Id: Icc11ba69167f448e2b33d9a1a13a1dfa5e5d0d58
Fixes: 110570772
Test: manual (follow repro steps in bug, but type really fast),treehugger
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions