blob: 15e97434e9856fb4927ace6b6bcb3d4988f58d70 [file] [log] [blame]
Owen Lin73429082011-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 Lin33f3a802011-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 Chang95d15602012-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
28-keep class * extends android.app.Activity {
29 @com.android.camera.OnClickAttr <methods>;
30}
31
32-keep class com.android.camera.CameraHolder {
33 public static void injectMockCamera(...);
34}
Owen Linc603e742012-08-01 13:32:34 +080035
36# Disable the warnings of using dynamic method calls in EffectsRecorder
37-dontnote com.android.camera.EffectsRecorder
Owen Lin50880952012-08-22 17:34:21 +080038
39# Required for ActionBarSherlock
40-keep class android.support.v4.app.** { *; }
41-keep interface android.support.v4.app.** { *; }
42-keep class com.actionbarsherlock.** { *; }
43-keep interface com.actionbarsherlock.** { *; }
44-keepattributes *Annotation*
45