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