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

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

Merge "[binder]: Use _IOC_NRMASK instead of oxff to filter out the cmd." am: 0b32b120

am: 0176bcb1

Change-Id: I4121394d88c03d1bef824668b3b02a859d4fa67f
parents 1b9e46df 0176bcb1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -116,7 +116,7 @@ static const int64_t kWorkSourcePropagatedBitIndex = 32;

static const char* getReturnString(uint32_t cmd)
{
    size_t idx = cmd & 0xff;
    size_t idx = cmd & _IOC_NRMASK;
    if (idx < sizeof(kReturnStrings) / sizeof(kReturnStrings[0]))
        return kReturnStrings[idx];
    else