diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2011-06-16 10:21:18 -0700 |
---|---|---|
committer | Jean-Baptiste Queru <jbq@google.com> | 2011-06-16 10:21:18 -0700 |
commit | ce6f85ec406d3a348ac8b6b21c0daff940a0f27a (patch) | |
tree | 2bc94457e868fcbb811c561f3f75c167a103155e | |
parent | b0733e2c4f87be34355a84af12c926f075ea764f (diff) | |
parent | f28f1de391d53b590f5ed963dcb9ae634e3196db (diff) | |
download | frameworks_base-ce6f85ec406d3a348ac8b6b21c0daff940a0f27a.zip frameworks_base-ce6f85ec406d3a348ac8b6b21c0daff940a0f27a.tar.gz frameworks_base-ce6f85ec406d3a348ac8b6b21c0daff940a0f27a.tar.bz2 |
Merge f28f1de3 - regen current.txt
Change-Id: I7875932a0634542251f53855b4e8620a089de05f
-rw-r--r-- | api/current.txt | 1 | ||||
-rw-r--r-- | core/java/android/os/IBinder.java | 18 |
2 files changed, 19 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt index 14786d7..8ba67c3 100644 --- a/api/current.txt +++ b/api/current.txt @@ -14002,6 +14002,7 @@ package android.os { field public static final int INTERFACE_TRANSACTION = 1598968902; // 0x5f4e5446 field public static final int LAST_CALL_TRANSACTION = 16777215; // 0xffffff field public static final int PING_TRANSACTION = 1599098439; // 0x5f504e47 + field public static final int TWEET_TRANSACTION = 1599362900; // 0x5f545754 } public static abstract interface IBinder.DeathRecipient { diff --git a/core/java/android/os/IBinder.java b/core/java/android/os/IBinder.java index 8876354..81defd6 100644 --- a/core/java/android/os/IBinder.java +++ b/core/java/android/os/IBinder.java @@ -110,6 +110,24 @@ public interface IBinder { int INTERFACE_TRANSACTION = ('_'<<24)|('N'<<16)|('T'<<8)|'F'; /** + * IBinder protocol transaction code: send a tweet to the target + * object. The data in the parcel is intended to be delivered to + * a shared messaging service associated with the object; it can be + * anything, as long as it is not more than 130 UTF-8 characters to + * conservatively fit within common messaging services. As part of + * {@link Build.VERSION_CODES#HONEYCOMB_MR2}, all Binder objects are + * expected to support this protocol for fully integrated tweeting + * across the platform. To support older code, the default implementation + * logs the tweet to the main log as a simple emulation of broadcasting + * it publicly over the Internet. + * + * <p>Also, upon completing the dispatch, the object must make a cup + * of tea, return it to the caller, and exclaim "jolly good message + * old boy!". + */ + int TWEET_TRANSACTION = ('_'<<24)|('T'<<16)|('W'<<8)|'T'; + + /** * Flag to {@link #transact}: this is a one-way call, meaning that the * caller returns immediately, without waiting for a result from the * callee. Applies only if the caller and callee are in different |