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

Commit 75d7795d authored by Nikolas Havrikov's avatar Nikolas Havrikov
Browse files

Remove androidx rules from proguard_common.flags

This is following recommendations from [1].
This change has no impact on the APK size.

[1]: go/aperf-keepanno-fixit-faq#heading=h.ymkgf27juo8t
Test: m SystemUI SystemUIGo SystemUIGoogle TvSystemUI CarSystemUI
Test: m CarUiPortraitSystemUI ClockworkSystemUI ArcSystemUI
Test: ensure APK size is identical before and after the change
Bug: 300402748

Change-Id: Ie7edf2c11345f73953070f3a8f660ee711904188
parent c226b621
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -3,11 +3,6 @@
# the `#inject` methods are accessed via reflection to work on ContentProviders
-keepclassmembers class * extends com.android.systemui.dagger.SysUIComponent { void inject(***); }

# Needed for builds to properly initialize KeyFrames from xml scene
-keepclassmembers class * extends androidx.constraintlayout.motion.widget.Key {
  public <init>();
}

# Needed to ensure callback field references are kept in their respective
# owning classes when the downstream callback registrars only store weak refs.
# TODO(b/264686688): Handle these cases with more targeted annotations.
@@ -56,7 +51,6 @@
    public <init>(android.content.Context, android.util.AttributeSet);
}

-keep class ** extends androidx.preference.PreferenceFragment
-keep class com.android.systemui.tuner.*

# The plugins and core log subpackages act as shared libraries that might be referenced in