diff options
author | Erik Ljungberg <erik.ljungberg@sonyericsson.com> | 2011-05-20 12:39:18 +0200 |
---|---|---|
committer | Johan Redestig <johan.redestig@sonyericsson.com> | 2011-05-20 12:39:18 +0200 |
commit | a9c4c594ef29e097be8be0537657fa8d9529502e (patch) | |
tree | b244ee37da3c234b009401df790336f658a65e4c /wifi | |
parent | 6c427617be940be32fdebbd9c78f9223b292c814 (diff) | |
download | frameworks_base-a9c4c594ef29e097be8be0537657fa8d9529502e.zip frameworks_base-a9c4c594ef29e097be8be0537657fa8d9529502e.tar.gz frameworks_base-a9c4c594ef29e097be8be0537657fa8d9529502e.tar.bz2 |
OBEX: Fix PrivateOutputStream small write problem
When data less than max packet size in length is sent into the write
method the data will only be added to the internal buffer. If several
calls to write is performed by the application continueOperation will
not be called at all. The solution to the problem is to always check
the internal buffer size and to call continueOperation every time
maxPacketSize bytes is in the internal buffer.
Change-Id: I5ebfa3c26db2c1aefe1a115d7782d8ceaa760937
Diffstat (limited to 'wifi')
0 files changed, 0 insertions, 0 deletions