1 # Disable the warnings of using dynamic method call in common library.
2 -dontnote com.android.gallery3d.common.*
4 # 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.
8 -keep class * extends com.android.gallery3d.common.Entry {
9 @com.android.gallery3d.common.Entry$Column <fields>;
12 # ctors of subclasses of CameraPreference are called with Java reflection.
13 -keep class * extends com.android.camera.CameraPreference {
17 -keep class com.android.camera.ActivityBase {
18 public int getResultCode();
19 public android.content.Intent getResultData();
22 -keep class com.android.camera.VideoCamera {
23 public boolean isRecording();
24 public void onCancelBgTraining(...);
25 public void onProtectiveCurtainClick(...);
28 -keep class com.android.camera.VideoModule {
29 public boolean isRecording();
30 public void onCancelBgTraining(...);
31 public void onProtectiveCurtainClick(...);
34 -keep class * extends android.app.Activity {
35 @com.android.camera.OnClickAttr <methods>;
38 -keep class com.android.camera.CameraHolder {
39 public static void injectMockCamera(...);
42 # Disable the warnings of using dynamic method calls in EffectsRecorder
43 -dontnote com.android.camera.EffectsRecorder
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*
52 # Required for mp4parser
53 -keep public class * implements com.coremedia.iso.boxes.Box