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

Commit 962d017a authored by Brad Hinegardner's avatar Brad Hinegardner
Browse files

Prevent proguard related crashloop on weather clock

A crashloop was happening due to "setGoneMargin" not being found.
Adding a proguard rule to keep ConstraintSet methods alleviates this.

Fixes: 322194308
Flag: N/A
Test: Change to weather clock, observe no crashloop
Change-Id: I322a89771b9535b27b68472c714ab33bb8a00814
parent 1684475d
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -7,3 +7,13 @@
-keep class com.android.systemui.log.core.** {
    *;
}

# This type is used in the plugin API boundary, so ensure the used public methods are kept.
-keepclassmembers class androidx.constraintlayout.widget.ConstraintSet {
    public void connect(int, int, int, int, int);
    public void constrainWidth(int, int);
    public void constrainHeight(int, int);
    public int getHeight(int);
    public int getWidth(int);
    public void setGoneMargin(int, int, int);
}