Make getCallingUid/Pid const.
Change-Id: I1853b21eaa45d85274189dfd72f73fec48d0d6b7
This commit is contained in:
parent
b05c4e0f34
commit
ada11c5e67
|
@ -39,8 +39,8 @@ public:
|
|||
|
||||
status_t clearLastError();
|
||||
|
||||
int getCallingPid();
|
||||
int getCallingUid();
|
||||
int getCallingPid() const;
|
||||
int getCallingUid() const;
|
||||
|
||||
void setStrictModePolicy(int32_t policy);
|
||||
int32_t getStrictModePolicy() const;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue