1 # Disable the warnings of using dynamic method call in common library.
2 -dontnote com.android.gallery3d.common.*
4 # ctors of subclasses of CameraPreference are called with Java reflection.
5 -keep class * extends com.android.camera.CameraPreference {
9 -keep class com.android.camera.CameraActivity {
10 public boolean isRecording();
11 public long getAutoFocusTime();
12 public long getShutterLag();
13 public long getShutterToPictureDisplayedTime();
14 public long getPictureDisplayedToJpegCallbackTime();
15 public long getJpegCallbackFinishTime();
16 public long getCaptureStartTime();
17 public long getFirstPreviewTime();
20 -keep class com.android.camera.VideoModule {
21 public void onCancelBgTraining(...);
22 public void onProtectiveCurtainClick(...);
25 -keep class * extends android.app.Activity {
26 @com.android.camera.OnClickAttr <methods>;
29 -keep class com.android.camera.CameraHolder {
30 public static void injectMockCamera(...);
33 # Disable the warnings of using dynamic method calls in EffectsRecorder
34 -dontnote com.android.camera.EffectsRecorder
38 # - Required for running exif tests on userdebug
39 -keep class com.android.gallery3d.exif.ExifTag { *; }
40 -keep class com.android.gallery3d.exif.ExifData { *; }
41 -keep class com.android.gallery3d.exif.ExifInterface { *; }
42 -keepclassmembers class com.android.gallery3d.exif.Util {
43 *** closeSilently(...);