OSDN Git Service

Deprecate local-only CursorWindows.
authorJeff Brown <jeffbrown@google.com>
Wed, 12 Oct 2011 22:41:34 +0000 (15:41 -0700)
committerJeff Brown <jeffbrown@google.com>
Thu, 13 Oct 2011 05:19:41 +0000 (22:19 -0700)
commit3e2fb7056ab4f459c63c6204d60abd537adf8442
tree9c7144aa9c9afb225c60dc582c89fa8407560645
parentd16b0945e2a9b5258045c92c7989fa373be35cf2
Deprecate local-only CursorWindows.

There is no difference and has never really been a difference
between local-only and remotable CursorWindows.  By removing the
distinction officially in the API, we will make it easier to
implement CrossProcessCursor correctly.  CrossProcessCursor
is problematic currently because it's not clear whether a call
to getWindow() will return a local-only window or a remotable window.
As a result, the bulk cursor adaptor has special case handling
for AbstractWindowedCursors vs. ordinary CrossProcessCursors
so that it can set a remotable window before the cursor fills it.
All these problems go away if we just forget about local-only
windows being special in any way.

Change-Id: Ie59f517968e33d0ecb239c3c4f60206495e8f376
include/binder/CursorWindow.h
libs/binder/CursorWindow.cpp