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

Commit dff81ca0 authored by Matthew Sedam's avatar Matthew Sedam
Browse files

[Service] Clean up 25Q1 ContextHub flags

This CL cleans up the following flags:
- fix_api_check
- reduce_locking_context_hub_transaction_manager
- reliable_message_duplicate_detection_service
- reliable_message_retry_support_service

Bug: 379341437
Flag: EXEMPT flag cleanup
Test: Presubmits
Change-Id: Ia3afe933addc3b7e5caf2c7a679c44dbd92c153d
parent 489b6338
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