Release APK goes from 115 KB to 47 KB. Shizuku.newProcess is kept explicitly because ShizukuGrant reaches it by reflection. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
8 lines
447 B
Prolog
8 lines
447 B
Prolog
# ShizukuGrant calls this private method by reflection (Shizuku 13 hides it); R8 would
|
|
# otherwise rename or drop it and the "Grant with Shizuku" button would fail at runtime.
|
|
-keep class rikka.shizuku.Shizuku {
|
|
private static rikka.shizuku.ShizukuRemoteProcess newProcess(java.lang.String[], java.lang.String[], java.lang.String);
|
|
}
|
|
|
|
# Not shipped: compile-time annotations referenced by the Shizuku library.
|
|
-dontwarn androidx.annotation.**
|