update:2021.03.19
fix:重新提交 add:
This commit is contained in:
@@ -1,53 +0,0 @@
|
||||
-keep,allowshrinking,allowoptimization class com.android.uiuios.** {
|
||||
*;
|
||||
}
|
||||
|
||||
# Proguard will strip new callbacks in LauncherApps.Callback from
|
||||
# WrappedCallback if compiled against an older SDK. Don't let this happen.
|
||||
-keep class com.android.uiuios.compat.** {
|
||||
*;
|
||||
}
|
||||
|
||||
-keep class com.android.uiuios.graphics.ShadowDrawable {
|
||||
public <init>(...);
|
||||
}
|
||||
|
||||
# The support library contains references to newer platform versions.
|
||||
# Don't warn about those in case this app is linking against an older
|
||||
# platform version. We know about them, and they are safe.
|
||||
-dontwarn android.support.**
|
||||
|
||||
# Proguard will strip methods required for talkback to properly scroll to
|
||||
# next row when focus is on the last item of last row when using a RecyclerView
|
||||
# Keep optimized and shrunk proguard to prevent issues like this when using
|
||||
# support jar.
|
||||
-keep class androidx.recyclerview.widget.RecyclerView { *; }
|
||||
|
||||
# Preference fragments
|
||||
-keep class ** extends android.app.Fragment {
|
||||
public <init>(...);
|
||||
}
|
||||
|
||||
## Prevent obfuscating various overridable objects
|
||||
-keep class ** implements com.android.uiuios.util.ResourceBasedOverride {
|
||||
public <init>(...);
|
||||
}
|
||||
|
||||
-keep interface com.android.uiuios.userevent.nano.LauncherLogProto.** {
|
||||
*;
|
||||
}
|
||||
-keep interface com.android.uiuios.model.nano.LauncherDumpProto.** {
|
||||
*;
|
||||
}
|
||||
|
||||
# Discovery bounce animation
|
||||
-keep class com.android.uiuios.allapps.DiscoveryBounce$VerticalProgressWrapper {
|
||||
public void setProgress(float);
|
||||
public float getProgress();
|
||||
}
|
||||
|
||||
# BUG(70852369): Surpress additional warnings after changing from Proguard to R8
|
||||
-dontwarn android.app.**
|
||||
-dontwarn android.view.**
|
||||
-dontwarn android.os.**
|
||||
-dontwarn android.graphics.**
|
||||
Reference in New Issue
Block a user