Merge "Clarify getCallingPid for oneway transactions." am: 26bbd81bd6 am: 79e3174053 am: 8d4c23bca4 am: a6fe68a08d
Change-Id: Ic04351f8b52be8bf40197e49d8ef601bbccd6800
This commit is contained in:
@@ -263,6 +263,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