Merge "Clarify getCallingPid for oneway transactions." am: 26bbd81bd6
Change-Id: I56cb4ea81b2d4fb814707fbedb05e329723e0aa5
This commit is contained in:
@@ -260,6 +260,8 @@ public class Binder implements IBinder {
|
||||
* system services to determine its identity and check permissions.
|
||||
* If the current thread is not currently executing an incoming transaction,
|
||||
* then its own pid is returned.
|
||||
*
|
||||
* Warning: oneway transactions do not receive PID.
|
||||
*/
|
||||
@CriticalNative
|
||||
public static final native int getCallingPid();
|
||||
|
||||
Reference in New Issue
Block a user