T
T
Tsuzukeru2022-04-05 11:52:40
Android
Tsuzukeru, 2022-04-05 11:52:40

Why is the application partially obfuscated?

Has anyone encountered the problem of partial obfuscation? The class is partially obfuscated. Some methods change their name and some don't

, here is my proGuard file

#nav models
-keep class * extends android.os.Parcelable
-keep class * extends java.io.Serializable

#koin
-keepclassmembers public class * extends androidx.lifecycle.ViewModel { public <init>(...); }

#netwok
-keep class com.umbrella.ds_remote_impl.** {*;}

#moshi & DriverProfileEditableDataSectionType
-keepclassmembernames class * extends java.lang.Enum {
    <fields>;
}


and here is an example of customView methods, the first of which is obfuscated, while the others are not

/* renamed from: a */
    public final void mo27123a(C3428a<C4785t> callback) {
        C3753r.m3233g(callback, "callback");
        ShapeableImageView shapeableImageView = this.f18625q.f19116b;
        C3753r.m3232f(shapeableImageView, "binding.iconPlaceholder");
        C10238r.m40740h(shapeableImageView, 0, new UploadPhotoWithReplaceIcon$onReplaceIconClick$1(callback), 1);
    }

    public final void setBitmapBackground(Bitmap image) {
        C3753r.m3233g(image, "image");
        this.f18625q.f19117c.setBitmapBackground(image);
    }

    public final void setImageBackground(String imageUrl) {
        C3753r.m3233g(imageUrl, "imageUrl");
        this.f18625q.f19117c.setImageBackground(imageUrl);
    }

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
illuzor, 2022-04-05
@iLLuzor

Because there are default rules .
In addition, linked libraries can also contain rules

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question