[app] Update proguard rules (#931)

This commit is contained in:
vvb2060 2021-08-18 05:14:45 +08:00 committed by GitHub
parent 4dee9c113c
commit 33a8a44a72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 5 deletions

View File

@ -198,9 +198,6 @@ dependencies {
implementation("me.zhanghai.android.appiconloader:appiconloader-glide:1.3.1")
implementation("org.lsposed.hiddenapibypass:hiddenapibypass:2.0")
implementation(project(":manager-service"))
// TODO(vvb2060): workaround for Samsung Folds. Remove it after stable.
implementation("androidx.window:window:1.0.0-alpha10")
}
configurations.all {

View File

@ -11,9 +11,14 @@
public static *** d(...);
}
#TODO(vvb2060): Remove it after Slidingpanelayout 1.2.0 stable.
-keepclassmembers class androidx.window.SidecarCompat** {
void onDeviceStateChanged(...);
void onWindowLayoutChanged(...);
}
-repackageclasses
# temporarily disable it: https://issuetracker.google.com/issues/155606069
# -allowaccessmodification
-allowaccessmodification
-overloadaggressively
# Gson uses generic type information stored in a class file when working with fields. Proguard