Keep all public functions in classes annotated with ProvidesInterface

This commit is contained in:
Goooler
2026-02-02 12:03:04 +08:00
parent 5804a40563
commit 9dbb7ad475

5
proguard.pro vendored
View File

@@ -9,6 +9,11 @@
# Remove some Kotlin overhead
-processkotlinnullchecks remove
# Keep all public functions in classes annotated with ProvidesInterface
-keep,allowoptimization @com.android.systemui.plugins.annotations.ProvidesInterface class * {
public *;
}
# Lawnchair specific rules.
-keep class app.lawnchair.LawnchairProto$* { *; }
-keep class app.lawnchair.LawnchairApp { *; }