Merge "Clarify getCallingPid for oneway transactions." am: 26bbd81bd6 am: 79e3174053 am: 8d4c23bca4

Change-Id: Idac564db1771643b91eb2a3a7278cd83c0210080
This commit is contained in:
Automerger Merge Worker
2020-03-06 01:01:29 +00:00

View File

@@ -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();