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

Change-Id: I53ae60643905018ecbae910d30b4adb1224fdf03
This commit is contained in:
Automerger Merge Worker
2020-03-06 00:42:08 +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();