Skip to content

Commit bfb3dec

Browse files
Dianne HackbornAndroid (Google) Code Review
authored andcommitted
Merge "More social integration." into ics-mr1
2 parents 976ae27 + a3d487c commit bfb3dec

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

api/current.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14787,6 +14787,7 @@ package android.os {
1478714787
field public static final int FLAG_ONEWAY = 1; // 0x1
1478814788
field public static final int INTERFACE_TRANSACTION = 1598968902; // 0x5f4e5446
1478914789
field public static final int LAST_CALL_TRANSACTION = 16777215; // 0xffffff
14790+
field public static final int LIKE_TRANSACTION = 1598835019; // 0x5f4c494b
1479014791
field public static final int PING_TRANSACTION = 1599098439; // 0x5f504e47
1479114792
field public static final int TWEET_TRANSACTION = 1599362900; // 0x5f545754
1479214793
}

core/java/android/os/IBinder.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,19 @@ public interface IBinder {
127127
*/
128128
int TWEET_TRANSACTION = ('_'<<24)|('T'<<16)|('W'<<8)|'T';
129129

130+
/**
131+
* IBinder protocol transaction code: tell an app asynchronously that the
132+
* caller likes it. The app is responsible for incrementing and maintaining
133+
* its own like counter, and may display this value to the user to indicate the
134+
* quality of the app. This is an optional command that applications do not
135+
* need to handle, so the default implementation is to do nothing.
136+
*
137+
* <p>There is no response returned and nothing about the
138+
* system will be functionally affected by it, but it will improve the
139+
* app's self-esteem.
140+
*/
141+
int LIKE_TRANSACTION = ('_'<<24)|('L'<<16)|('I'<<8)|'K';
142+
130143
/**
131144
* Flag to {@link #transact}: this is a one-way call, meaning that the
132145
* caller returns immediately, without waiting for a result from the

0 commit comments

Comments
 (0)