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

Commit a9dde9df authored by Matthew Sedam's avatar Matthew Sedam Committed by Android (Google) Code Review
Browse files

Merge "[Service] Clean up 25Q1 ContextHub flags" into main

parents 795bebcb dff81ca0
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -187,10 +187,6 @@ public final class HubMessage implements Parcelable {

    @Override
    public int hashCode() {
        if (!Flags.fixApiCheck()) {
            return super.hashCode();
        }

        return Objects.hash(
                mMessageType,
                Arrays.hashCode(mMessageBody),
+0 −4
Original line number Diff line number Diff line
@@ -384,10 +384,6 @@ public class ContextHubInfo implements Parcelable {

    @Override
    public int hashCode() {
        if (!Flags.fixApiCheck()) {
            return super.hashCode();
        }

        return Objects.hash(mId, mName, mVendor, mToolchain, mToolchainVersion,
                getStaticSwVersion(), mChrePlatformId, mPeakMips,
                mStoppedPowerDrawMw, mSleepPowerDrawMw, mPeakPowerDrawMw,
+0 −4
Original line number Diff line number Diff line
@@ -278,10 +278,6 @@ public class ContextHubIntentEvent {

    @Override
    public int hashCode() {
        if (!Flags.fixApiCheck()) {
            return super.hashCode();
        }

        return Objects.hash(mEventType, mContextHubInfo, mNanoAppId,
                mNanoAppMessage, mNanoAppAbortCode, mClientAuthorizationState);
    }
+0 −4
Original line number Diff line number Diff line
@@ -132,10 +132,6 @@ public class MemoryRegion implements Parcelable{

    @Override
    public int hashCode() {
        if (!Flags.fixApiCheck()) {
            return super.hashCode();
        }

        return Objects.hash(mSizeBytes, mSizeBytesFree, mIsReadable,
                mIsWritable, mIsExecutable);
    }
+0 −4
Original line number Diff line number Diff line
@@ -290,10 +290,6 @@ public final class NanoAppMessage implements Parcelable {

    @Override
    public int hashCode() {
        if (!Flags.fixApiCheck()) {
            return super.hashCode();
        }

        return Objects.hash(mNanoAppId, mMessageType, mIsBroadcasted,
                Arrays.hashCode(mMessageBody), mIsReliable,
                mMessageSequenceNumber);
Loading