summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiogo Ferreira <diogo@underdev.org>2018-09-14 10:51:15 +0200
committerBruno Martins <bgcngm@gmail.com>2019-10-20 14:00:37 +0100
commitc1821f3e79fbd9b863f3ebd9a532a94eb8c57184 (patch)
tree465fc88f39f467c30999aa472ba16eba13b913a3
parent4286514ebfb64578864141eaaa4d8e4ff85fe9a7 (diff)
downloadandroid_packages_apps_Trebuchet-c1821f3e79fbd9b863f3ebd9a532a94eb8c57184.zip
android_packages_apps_Trebuchet-c1821f3e79fbd9b863f3ebd9a532a94eb8c57184.tar.gz
android_packages_apps_Trebuchet-c1821f3e79fbd9b863f3ebd9a532a94eb8c57184.tar.bz2
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 <amartinz@shiftphones.com>
-rw-r--r--proguard.flags6
1 files changed, 5 insertions, 1 deletions
diff --git a/proguard.flags b/proguard.flags
index 272ab7a..6fc5624 100644
--- a/proguard.flags
+++ b/proguard.flags
@@ -8,6 +8,10 @@
*;
}
+-keep class com.android.launcher3.graphics.FixedScaleDrawable {
+ public <init>(...);
+}
+
-keep class com.android.launcher3.graphics.ShadowDrawable {
public <init>(...);
}
@@ -50,4 +54,4 @@
-dontwarn android.app.**
-dontwarn android.view.**
-dontwarn android.os.**
--dontwarn android.graphics.** \ No newline at end of file
+-dontwarn android.graphics.**