-
Notifications
You must be signed in to change notification settings - Fork 0
/
proguard.flags
86 lines (69 loc) · 2.86 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# 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.CameraActivity {
public boolean isRecording();
public long getAutoFocusTime();
public long getShutterLag();
public long getShutterToPictureDisplayedTime();
public long getPictureDisplayedToJpegCallbackTime();
public long getJpegCallbackFinishTime();
public long getCaptureStartTime();
}
-keep class com.android.camera.VideoModule {
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(...);
}
# Disable the warnings of using dynamic method calls in EffectsRecorder
-dontnote com.android.camera.EffectsRecorder
-keep class android.support.v8.renderscript.** { *; }
# Required for ActionBarSherlock
-keep class android.support.v4.app.** { *; }
-keep interface android.support.v4.app.** { *; }
-keep class com.actionbarsherlock.** { *; }
-keep interface com.actionbarsherlock.** { *; }
-keepattributes *Annotation*
# Required for mp4parser
-keep public class * implements com.coremedia.iso.boxes.Box
#-assumenosideeffects junit.framework.Assert {
#*;
#}
# For unit testing:
# - Required for running exif tests on userdebug
-keep class com.android.gallery3d.exif.ExifTag { *; }
-keep class com.android.gallery3d.exif.ExifData { *; }
-keep class com.android.gallery3d.exif.ExifInterface { *; }
-keepclassmembers class com.android.gallery3d.exif.Util {
*** closeSilently(...);
}
# - Required for running blobcache tests on userdebug
-keep class com.android.gallery3d.common.BlobCache { *; }
# - Required for running glcanvas tests on userdebug
-keep class com.android.gallery3d.ui.GLPaint { *; }
-keep class com.android.gallery3d.ui.GLCanvas { *; }
-keep class com.android.gallery3d.glrenderer.GLPaint { *; }
-keep class com.android.gallery3d.glrenderer.GLCanvas { *; }
-keep class com.android.gallery3d.ui.GLView { *; }
-keepclassmembers class com.android.gallery3d.util.IntArray {
*** toArray(...);
}
-keep class com.android.gallery3d.util.ProfileData { *; }
# - Required for running jpeg stream tests on userdebug
-keep class com.android.gallery3d.jpegstream.JPEGOutputStream { *; }
-keep class com.android.gallery3d.jpegstream.JPEGInputStream { *; }
-keep class com.android.gallery3d.jpegstream.StreamUtils { *; }