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

Commit 2918d530 authored by Pablo Gamito's avatar Pablo Gamito
Browse files

Use primitive int for message mask

This value is always a primitive and doesn't need to be null.

Bug: 364254249
Test: n/a
Flag: EXEMPT minor refactor
Change-Id: I2f8bcf2906ed58340a73e1fc1127a80dec2aa06b
parent 25fbc20b
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -882,8 +882,7 @@ public class PerfettoProtoLogImpl extends IProtoLogClient.Stub implements IProto
    private static class Message {
        @Nullable
        private final Long mMessageHash;
        @Nullable
        private final Integer mMessageMask;
        private final int mMessageMask;
        @Nullable
        private final String mMessageString;

@@ -900,8 +899,7 @@ public class PerfettoProtoLogImpl extends IProtoLogClient.Stub implements IProto
            this.mMessageString = messageString;
        }

        @Nullable
        private Integer getMessageMask() {
        private int getMessageMask() {
            return mMessageMask;
        }