From 20cc7a3b5b2ef2e49b85d2cd51320c4c0183e244 Mon Sep 17 00:00:00 2001 From: Amos Bianchi Date: Mon, 24 Feb 2020 15:35:49 -0800 Subject: [PATCH] Update proguard flags. Fully R8 optimized variants may crash with: java.lang.AbstractMethodError exception. Test: build, manual test on device. Change-Id: I18a7b011ddd3536e3d33b991954a52e5fc5c7d56 --- proguard.flags | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/proguard.flags b/proguard.flags index e556c94466..37b80938fa 100644 --- a/proguard.flags +++ b/proguard.flags @@ -50,4 +50,13 @@ -dontwarn android.graphics.** # Ignore warnings for hidden utility classes referenced from the shared lib --dontwarn com.android.internal.util.** \ No newline at end of file +-dontwarn com.android.internal.util.** + +################ Do not optimize recents lib ############# +-keep class com.android.systemui.** { + *; +} + +-keep class com.android.quickstep.** { + *; +}