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

Unverified Commit aa06702b authored by Diogo Ferreira's avatar Diogo Ferreira Committed by Kevin F. Haggerty
Browse files

proguard: Also keep FixedScaleDrawable



FixedScaleDrawable is used for legacy icons if LEGACY_ICON_TREATMENT is
set to false. However, it gets removed by proguard, this patch adds a
keep rule.

Change-Id: Ifcedad251013abefbb52cd7bc0ed2f59aa1bc06f
Signed-off-by: Alexander Martinz's avatarAlexander Martinz <amartinz@shiftphones.com>
parent eb154382
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -76,6 +76,10 @@
  public void setBackgroundAlpha(float);
}

-keep class com.android.launcher3.graphics.FixedScaleDrawable {
  public <init>(...);
}

# Proguard will strip new callbacks in LauncherApps.Callback from
# WrappedCallback if compiled against an older SDK. Don't let this happen.
-keep class com.android.launcher3.compat.** {