Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b3c83d3c authored by Jared Duke's avatar Jared Duke
Browse files

Relax system_server keep rules

Remove explicit keep rules for binder interfaces. These should all be
handled correctly now that we pull in the framework-res manifest
proguard rules.

This saves ~140KB from services.jar.

Test: m + boot + presubmit + inspect services.jar diff
Bug: 300294899
Bug: 246800015
Change-Id: I1d2c41a3be1894a6ffb9599d1a6d88bc6537c442
parent 545d8455
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -38,10 +38,6 @@
   public static void write(...);
}

# Binder interfaces
-keep,allowoptimization,allowaccessmodification class * extends android.os.IInterface
-keep,allowoptimization,allowaccessmodification class * extends android.os.IHwInterface

# Various classes subclassed in or referenced via JNI in ethernet-service
-keep public class android.net.** { *; }
-keep,allowoptimization,allowaccessmodification class com.android.net.module.util.* { *; }