Merge "Clarify getCallingPid for oneway transactions."

This commit is contained in:
Steven Moreland
2020-03-05 20:48:07 +00:00
committed by Gerrit Code Review

View File

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