[daemon] Fix proguard (#1505)
This commit is contained in:
parent
73cfc94ed6
commit
23c044a4f3
|
|
@ -3,7 +3,6 @@
|
||||||
-keepclasseswithmembers class org.lsposed.lspd.core.Main {
|
-keepclasseswithmembers class org.lsposed.lspd.core.Main {
|
||||||
public static void forkSystemServerPost(android.os.IBinder);
|
public static void forkSystemServerPost(android.os.IBinder);
|
||||||
public static void forkAndSpecializePost(java.lang.String, java.lang.String, android.os.IBinder);
|
public static void forkAndSpecializePost(java.lang.String, java.lang.String, android.os.IBinder);
|
||||||
public static void main(java.lang.String[]);
|
|
||||||
}
|
}
|
||||||
-keepclasseswithmembers,includedescriptorclasses class * {
|
-keepclasseswithmembers,includedescriptorclasses class * {
|
||||||
native <methods>;
|
native <methods>;
|
||||||
|
|
@ -15,9 +14,6 @@
|
||||||
public static boolean *(android.os.IBinder, int, long, long, int);
|
public static boolean *(android.os.IBinder, int, long, long, int);
|
||||||
public static android.os.IBinder getApplicationServiceForSystemServer(android.os.IBinder, android.os.IBinder);
|
public static android.os.IBinder getApplicationServiceForSystemServer(android.os.IBinder, android.os.IBinder);
|
||||||
}
|
}
|
||||||
-keepclasseswithmembers class org.lsposed.lspd.service.LogcatService {
|
|
||||||
private int refreshFd(boolean);
|
|
||||||
}
|
|
||||||
|
|
||||||
-keepclassmembers class ** implements android.content.ContextWrapper {
|
-keepclassmembers class ** implements android.content.ContextWrapper {
|
||||||
public int getUserId();
|
public int getUserId();
|
||||||
|
|
|
||||||
|
|
@ -1,21 +1,9 @@
|
||||||
# Add project specific ProGuard rules here.
|
-keepclasseswithmembers,includedescriptorclasses class * {
|
||||||
# You can control the set of applied configuration files using the
|
native <methods>;
|
||||||
# proguardFiles setting in build.gradle.
|
}
|
||||||
#
|
-keepclasseswithmembers class org.lsposed.lspd.Main {
|
||||||
# For more details, see
|
public static void main(java.lang.String[]);
|
||||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
}
|
||||||
|
-keepclasseswithmembers class org.lsposed.lspd.service.LogcatService {
|
||||||
# If your project uses WebView with JS, uncomment the following
|
private int refreshFd(boolean);
|
||||||
# and specify the fully qualified class name to the JavaScript interface
|
}
|
||||||
# class:
|
|
||||||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
|
||||||
# public *;
|
|
||||||
#}
|
|
||||||
|
|
||||||
# Uncomment this to preserve the line number information for
|
|
||||||
# debugging stack traces.
|
|
||||||
#-keepattributes SourceFile,LineNumberTable
|
|
||||||
|
|
||||||
# If you keep the line number information, uncomment this to
|
|
||||||
# hide the original source file name.
|
|
||||||
#-renamesourcefileattribute SourceFile
|
|
||||||
Loading…
Reference in New Issue