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

Commit 0539cf0d authored by Steven Moreland's avatar Steven Moreland Committed by android-build-merger
Browse files

Merge changes Ia43d6dae,I09ec7969 am: f03997b7 am: 6f99af72

am: 7b3d64ef

Change-Id: I5be8a1923b1f75872c3040f5187e9be96edc3cf1
parents 47dfce7f 7b3d64ef
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -541,7 +541,7 @@ bool Parcel::replaceCallingWorkSourceUid(uid_t uid)
    return err == NO_ERROR;
    return err == NO_ERROR;
}
}


uid_t Parcel::readCallingWorkSourceUid()
uid_t Parcel::readCallingWorkSourceUid() const
{
{
    if (!mRequestHeaderPresent) {
    if (!mRequestHeaderPresent) {
        return IPCThreadState::kUnsetWorkSource;
        return IPCThreadState::kUnsetWorkSource;
+1 −2
Original line number Original line Diff line number Diff line
@@ -377,8 +377,7 @@ public:
    bool                replaceCallingWorkSourceUid(uid_t uid);
    bool                replaceCallingWorkSourceUid(uid_t uid);
    // Returns the work source provided by the caller. This can only be trusted for trusted calling
    // Returns the work source provided by the caller. This can only be trusted for trusted calling
    // uid.
    // uid.
    uid_t               readCallingWorkSourceUid();
    uid_t               readCallingWorkSourceUid() const;
    void                readRequestHeaders() const;


private:
private:
    typedef void        (*release_func)(Parcel* parcel,
    typedef void        (*release_func)(Parcel* parcel,