From d76ef97930d45e37dba4ac58b376c3067c2eb54a Mon Sep 17 00:00:00 2001
From: Dirk Dougherty
Date: Mon, 29 Mar 2010 14:20:41 -0700
Subject: [PATCH] doc change: In fundamentals doc, make statement about
synchronous execution of RPC less strict. Indicate that FLAG_ONEWAY applies
only across processes.
Bug: 2554090
Change-Id: Ia13b3d156d230609e8296a3b31c2882ba13681f3
---
core/java/android/os/IBinder.java | 3 ++-
docs/html/guide/topics/fundamentals.jd | 4 ++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/core/java/android/os/IBinder.java b/core/java/android/os/IBinder.java
index 5c40c9a041ad8..174f3b67d448c 100644
--- a/core/java/android/os/IBinder.java
+++ b/core/java/android/os/IBinder.java
@@ -112,7 +112,8 @@ public interface IBinder {
/**
* Flag to {@link #transact}: this is a one-way call, meaning that the
* caller returns immediately, without waiting for a result from the
- * callee.
+ * callee. Applies only if the caller and callee are in different
+ * processes.
*/
int FLAG_ONEWAY = 0x00000001;
diff --git a/docs/html/guide/topics/fundamentals.jd b/docs/html/guide/topics/fundamentals.jd
index 807c7ff0e0e18..fd9af5095fc98 100644
--- a/docs/html/guide/topics/fundamentals.jd
+++ b/docs/html/guide/topics/fundamentals.jd
@@ -990,8 +990,8 @@ the RPC interface itself.
-An RPC interface can include only methods.
-All methods are executed synchronously (the local method blocks until the
+An RPC interface can include only methods. By default,
+all methods are executed synchronously (the local method blocks until the
remote method finishes), even if there is no return value.