summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2022-07-07 00:26:42 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2022-07-07 00:26:42 +0000
commiteddf8c7625345ca1ae2e91d941f95375a09a76a3 (patch)
tree4a1d5be7059032400573c81598d90ff041cb2cc8
parenta447ff12be1641c69f61e93a220c9f913d6e9540 (diff)
parentbc6775289425a315fa07d8355f82d6b57d5a87bd (diff)
Merge "Binder: clearCallingIdentity is kernel binder" am: bc67752894
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2147360 Change-Id: Ic6643d23d94fe5673243c46663a3ac7a42235734 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--core/java/android/os/Binder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/os/Binder.java b/core/java/android/os/Binder.java
index 80cf2f87f1d6..7e3af189da81 100644
--- a/core/java/android/os/Binder.java
+++ b/core/java/android/os/Binder.java
@@ -378,7 +378,7 @@ public class Binder implements IBinder {
}
/**
- * Reset the identity of the incoming IPC on the current thread. This can
+ * Reset the kernel binder identity of the incoming IPC on the current thread. This can
* be useful if, while handling an incoming call, you will be calling
* on interfaces of other objects that may be local to your process and
* need to do permission checks on the calls coming into them (so they
@@ -397,7 +397,7 @@ public class Binder implements IBinder {
public static final native long clearCallingIdentity();
/**
- * Restore the identity of the incoming IPC on the current thread
+ * Restore the kernel binder identity of the incoming IPC on the current thread
* back to a previously identity that was returned by {@link
* #clearCallingIdentity}.
*