summaryrefslogtreecommitdiff
path: root/libs/binder/IPCThreadState.cpp
diff options
context:
space:
mode:
author Jeff Brown <jeffbrown@google.com> 2013-07-12 16:32:00 -0700
committer Jeff Brown <jeffbrown@google.com> 2013-07-15 15:08:39 -0700
commitada11c5e67cf8587ad3b53dd99c27455ef26291f (patch)
tree5544618d7e1c55af2582f47ea3332d826ab326eb /libs/binder/IPCThreadState.cpp
parentb05c4e0f34df0208dd900f1013ad61acb382f9ad (diff)
Make getCallingUid/Pid const.
Change-Id: I1853b21eaa45d85274189dfd72f73fec48d0d6b7
Diffstat (limited to 'libs/binder/IPCThreadState.cpp')
-rw-r--r--libs/binder/IPCThreadState.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/binder/IPCThreadState.cpp b/libs/binder/IPCThreadState.cpp
index 5a38b9559a..5951a3ff47 100644
--- a/libs/binder/IPCThreadState.cpp
+++ b/libs/binder/IPCThreadState.cpp
@@ -362,12 +362,12 @@ status_t IPCThreadState::clearLastError()
return err;
}
-int IPCThreadState::getCallingPid()
+int IPCThreadState::getCallingPid() const
{
return mCallingPid;
}
-int IPCThreadState::getCallingUid()
+int IPCThreadState::getCallingUid() const
{
return mCallingUid;
}