mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-11 06:44:00 +00:00
keep androidx fragment through proguard optimization
Bug: 146432215 Test: on android master, apply the proguard config, build and flash and verifies crash no longer occurs Change-Id: Ie967bcbd33bfbc1b8ec088c55829760145f7b597
This commit is contained in:
@@ -23,7 +23,10 @@
|
||||
# support jar.
|
||||
-keep class androidx.recyclerview.widget.RecyclerView { *; }
|
||||
|
||||
# Preference fragments
|
||||
# Fragments
|
||||
-keep class ** extends androidx.fragment.app.Fragment {
|
||||
public <init>(...);
|
||||
}
|
||||
-keep class ** extends android.app.Fragment {
|
||||
public <init>(...);
|
||||
}
|
||||
@@ -50,4 +53,4 @@
|
||||
-dontwarn android.app.**
|
||||
-dontwarn android.view.**
|
||||
-dontwarn android.os.**
|
||||
-dontwarn android.graphics.**
|
||||
-dontwarn android.graphics.**
|
||||
|
||||
Reference in New Issue
Block a user