OSDN Git Service

Fix readImmediately for CTS
authorHall Liu <hallliu@google.com>
Tue, 3 Jul 2018 22:17:41 +0000 (15:17 -0700)
committerHall Liu <hallliu@google.com>
Tue, 3 Jul 2018 22:17:41 +0000 (15:17 -0700)
commit17eb1bd6e4d0a3062df6787a7564f02abfade50c
tree29ab388a21b88905d91e95c4eb4b8652f31be089
parent730a25995efb2b5646a5d42ce83cfc3dbef6ee74
Fix readImmediately for CTS

The readImmediately API (only used by CTS so far) was broken by a
previous change that unknowingly changed the semantics of ready().
Fixing this so that CTS tests work again.

Change-Id: I6970713eae2a01dd07e30778ca8ee0d9bc7dfeb9
Fixes: 111125833
Test: CTS
telecomm/java/android/telecom/Connection.java