-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproguard.flags
executable file
·34 lines (27 loc) · 1 KB
/
proguard.flags
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Disable the warnings of using dynamic method call in common library.
-dontnote com.android.gallery3d.common.*
# Keep all classes extended from com.android.gallery3d.common.Entry
# Since we annotate on the fields and use reflection to create SQL
# according to those field.
-keep class * extends com.android.gallery3d.common.Entry {
@com.android.gallery3d.common.Entry$Column <fields>;
}
# ctors of subclasses of CameraPreference are called with Java reflection.
-keep class * extends com.android.camera.CameraPreference {
<init>(...);
}
-keep class com.android.camera.ActivityBase {
public int getResultCode();
public android.content.Intent getResultData();
}
-keep class com.android.camera.VideoCamera {
public boolean isRecording();
public void onCancelBgTraining(...);
public void onProtectiveCurtainClick(...);
}
-keep class * extends android.app.Activity {
@com.android.camera.OnClickAttr <methods>;
}
-keep class com.android.camera.CameraHolder {
public static void injectMockCamera(...);
}