blob: d5a2d1f2685c73d521ef6c4fa7fc737e46cde706 [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();
Chih-Chung Chang63764782012-03-08 20:10:53 +080024}
25
Wu-cheng Li81e863b2012-09-27 10:49:46 +080026-keep class com.android.camera.VideoModule {
Wu-cheng Li81e863b2012-09-27 10:49:46 +080027 public void onCancelBgTraining(...);
28 public void onProtectiveCurtainClick(...);
29}
30
Chih-Chung Chang63764782012-03-08 20:10:53 +080031-keep class * extends android.app.Activity {
32 @com.android.camera.OnClickAttr <methods>;
33}
34
35-keep class com.android.camera.CameraHolder {
36 public static void injectMockCamera(...);
37}
Owen Lin1a2b42c2012-08-01 13:32:34 +080038
39# Disable the warnings of using dynamic method calls in EffectsRecorder
40-dontnote com.android.camera.EffectsRecorder
Owen Lin8a861a02012-08-24 15:09:42 +080041
42# Required for ActionBarSherlock
43-keep class android.support.v4.app.** { *; }
44-keep interface android.support.v4.app.** { *; }
45-keep class com.actionbarsherlock.** { *; }
46-keep interface com.actionbarsherlock.** { *; }
47-keepattributes *Annotation*
48
Teng-Hui Zhu15ff1b12012-09-23 15:02:56 -070049# Required for mp4parser
Teng-Hui Zhu284efcc2012-09-30 14:27:24 -070050-keep public class * implements com.coremedia.iso.boxes.Box
Teng-Hui Zhu15ff1b12012-09-23 15:02:56 -070051