summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/InputMethodService.java
diff options
context:
space:
mode:
authorJeremy Meyer <jakmcbane@google.com>2021-10-01 18:29:33 +0000
committerJeremy Meyer <jakmcbane@google.com>2021-10-15 00:22:26 +0000
commit9d0352210d3bc1933d84f1d855004edc9b20345a (patch)
treec44518ba15f5db8e77e34d98937191d26e83f13a /core/java/android/inputmethodservice/InputMethodService.java
parent00b3b61f5ac0ebcab129748a4deb768c2f8842c3 (diff)
Have AssetFileDescriptor.AutoCloseInputStream use pread
Previously two AssetFileDescriptors pointing to the same file could be using the same underlying file descriptor and reading from both would provide unexpected results since they would both modify the file offset in the kernel data structure. Test: Added testTwoFileDescriptorsWorkIndependently() to android.content.res.cts.AssetFileDescriptor_AutoCloseInputStreamTest Test: atest AssetFileDescriptor_AutoCloseInputStreamTest Fix: 168310122 Change-Id: I6c9f9d1de193992736bf39516ab9364af34a47cd
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions