summaryrefslogtreecommitdiffstats
path: root/libs/binder/CursorWindow.cpp
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2011-10-14 21:05:58 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-10-14 21:05:58 -0700
commita39a055304968e799c49e99b700399667eab006a (patch)
tree7596ce656909c7cde2d6df3d988ae561bb1332b2 /libs/binder/CursorWindow.cpp
parent436e270fbb607d62d59e3694ff46c87fa156f78b (diff)
parent5e5d6d8ba04d7579df840cda055cd5dfa9d7666f (diff)
downloadframeworks_base-a39a055304968e799c49e99b700399667eab006a.zip
frameworks_base-a39a055304968e799c49e99b700399667eab006a.tar.gz
frameworks_base-a39a055304968e799c49e99b700399667eab006a.tar.bz2
Merge "Deprecate local-only CursorWindows."
Diffstat (limited to 'libs/binder/CursorWindow.cpp')
-rw-r--r--libs/binder/CursorWindow.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/binder/CursorWindow.cpp b/libs/binder/CursorWindow.cpp
index 1b85a71..bf8d7a6 100644
--- a/libs/binder/CursorWindow.cpp
+++ b/libs/binder/CursorWindow.cpp
@@ -40,11 +40,9 @@ CursorWindow::~CursorWindow() {
::close(mAshmemFd);
}
-status_t CursorWindow::create(const String8& name, size_t size, bool localOnly,
- CursorWindow** outCursorWindow) {
+status_t CursorWindow::create(const String8& name, size_t size, CursorWindow** outCursorWindow) {
String8 ashmemName("CursorWindow: ");
ashmemName.append(name);
- ashmemName.append(localOnly ? " (local)" : " (remote)");
status_t result;
int ashmemFd = ashmem_create_region(ashmemName.string(), size);