File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
src/main/java/dev/lexip/hecate/util/shizuku Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 1818
1919# If you keep the line number information, uncomment this to
2020# hide the original source file name.
21- #-renamesourcefileattribute SourceFile
21+ #-renamesourcefileattribute SourceFile
22+
23+ # --- Shizuku integration ---
24+ # Keep all Shizuku library classes used for binder communication
25+ -keep class moe.shizuku.** { *; }
26+ -keep class rikka.shizuku.** { *; }
27+
28+ # Keep Shizuku user service implementation and its members
29+ -keep class dev.lexip.hecate.util.shizuku.GrantService { *; }
Original file line number Diff line number Diff line change @@ -3,9 +3,11 @@ package dev.lexip.hecate.util.shizuku
33import android.os.Binder
44import android.os.Parcel
55import android.util.Log
6+ import androidx.annotation.Keep
67import java.io.BufferedReader
78import java.io.InputStreamReader
89
10+ @Keep
911class GrantService : Binder () {
1012
1113 companion object {
You can’t perform that action at this time.
0 commit comments