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

Commit ad4d4b8e authored by Nico's avatar Nico Committed by Michael Bestas
Browse files

StatusBarSignalPolicy: Fix missing provisioned in equals and copyTo

* equals and copyTo should include all MobileIconState properties
* therefore, add the newly introduced boolean, provisioned

Change-Id: Ic810bbe7538506612f86695ce520e8b9542bc634
parent f2ca7b40
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -446,6 +446,7 @@ public class StatusBarSignalPolicy implements NetworkControllerImpl.SignalCallba
                    typeId == that.typeId &&
                    roaming == that.roaming &&
                    needsLeadingPadding == that.needsLeadingPadding &&
                    provisioned == that.provisioned &&
                    Objects.equals(typeContentDescription, that.typeContentDescription);
        }

@@ -471,6 +472,7 @@ public class StatusBarSignalPolicy implements NetworkControllerImpl.SignalCallba
            other.typeId = typeId;
            other.roaming = roaming;
            other.needsLeadingPadding = needsLeadingPadding;
            other.provisioned = provisioned;
            other.typeContentDescription = typeContentDescription;
        }