blob: dce9d077d6ba65565a2d2bb1696b0f9e64dc4f3e [file] [log] [blame]
Owen Lin2733d792011-09-01 14:11:19 +08001# Disable the warnings of using dynamic method call in common library.
2-dontnote com.android.gallery3d.common.*
3
Owen Linf9a0a432011-08-17 22:07:43 +08004# Keep all classes extended from com.android.gallery3d.common.Entry
5# Since we annotate on the fields and use reflection to create SQL
6# according to those field.
7
8-keep class * extends com.android.gallery3d.common.Entry {
9 @com.android.gallery3d.common.Entry$Column <fields>;
10}
Chih-Chung Chang63764782012-03-08 20:10:53 +080011
12# ctors of subclasses of CameraPreference are called with Java reflection.
13-keep class * extends com.android.camera.CameraPreference {
14 <init>(...);
15}
16
17-keep class com.android.camera.ActivityBase {
18 public int getResultCode();
19 public android.content.Intent getResultData();
20}
21
Wu-cheng Li84440672012-10-14 21:28:31 +080022-keep class com.android.camera.CameraActivity {
Chih-Chung Chang63764782012-03-08 20:10:53 +080023 public boolean isRecording();
Jason Noguchi1098a182012-10-17 14:35:00 -070024 public long getAutoFocusTime();
25 public long getShutterLag();
26 public long getShutterToPictureDisplayedTime();
27 public long getPictureDisplayedToJpegCallbackTime();
28 public long getJpegCallbackFinishTime();
29 public long getCaptureStartTime();
Chih-Chung Chang63764782012-03-08 20:10:53 +080030}
31
Wu-cheng Li81e863b2012-09-27 10:49:46 +080032-keep class com.android.camera.VideoModule {
Wu-cheng Li81e863b2012-09-27 10:49:46 +080033 public void onCancelBgTraining(...);
34 public void onProtectiveCurtainClick(...);
35}
36
Chih-Chung Chang63764782012-03-08 20:10:53 +080037-keep class * extends android.app.Activity {
38 @com.android.camera.OnClickAttr <methods>;
39}
40
41-keep class com.android.camera.CameraHolder {
42 public static void injectMockCamera(...);
43}
Owen Lin1a2b42c2012-08-01 13:32:34 +080044
45# Disable the warnings of using dynamic method calls in EffectsRecorder
46-dontnote com.android.camera.EffectsRecorder
Owen Lin8a861a02012-08-24 15:09:42 +080047
Tim Murraya6405162013-02-04 13:09:27 -080048-keep class android.support.v8.renderscript.** { *; }
49
Owen Lin8a861a02012-08-24 15:09:42 +080050# Required for ActionBarSherlock
51-keep class android.support.v4.app.** { *; }
52-keep interface android.support.v4.app.** { *; }
53-keep class com.actionbarsherlock.** { *; }
54-keep interface com.actionbarsherlock.** { *; }
55-keepattributes *Annotation*
56
Teng-Hui Zhu15ff1b12012-09-23 15:02:56 -070057# Required for mp4parser
Teng-Hui Zhu284efcc2012-09-30 14:27:24 -070058-keep public class * implements com.coremedia.iso.boxes.Box
Teng-Hui Zhu15ff1b12012-09-23 15:02:56 -070059
John Recka4eae1a2012-12-11 14:42:27 -080060#-assumenosideeffects junit.framework.Assert {
61#*;
62#}
63