Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ada11c5e authored by Jeff Brown's avatar Jeff Brown
Browse files

Make getCallingUid/Pid const.

Change-Id: I1853b21eaa45d85274189dfd72f73fec48d0d6b7
parent b05c4e0f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
+2 −2
Original line number Diff line number Diff line
@@ -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;
}