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

Commit 4a5108a9 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:...

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

Change-Id: I56102734c3f906e4d4df422d0bcb94a17655938a
parents 8c810106 02743064
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