blob: 624af0fb0e30184d07c5dc15a3e9172775c0c3ad [file] [log] [blame]
Sascha Haeberling43ec6fa2013-08-06 16:44:42 -07001# Disable the warnings of using dynamic method call in common library.
2-dontnote com.android.gallery3d.common.*
3
Sascha Haeberling43ec6fa2013-08-06 16:44:42 -07004# ctors of subclasses of CameraPreference are called with Java reflection.
5-keep class * extends com.android.camera.CameraPreference {
6 <init>(...);
7}
8
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();
Kevin Gabayana0e83472014-01-15 15:21:13 -080017 public long getFirstPreviewTime();
Sascha Haeberling43ec6fa2013-08-06 16:44:42 -070018}
19
20-keep class com.android.camera.VideoModule {
21 public void onCancelBgTraining(...);
22 public void onProtectiveCurtainClick(...);
23}
24
25-keep class * extends android.app.Activity {
26 @com.android.camera.OnClickAttr <methods>;
27}
28
29-keep class com.android.camera.CameraHolder {
30 public static void injectMockCamera(...);
31}
32
33# Disable the warnings of using dynamic method calls in EffectsRecorder
34-dontnote com.android.camera.EffectsRecorder
35
Sascha Haeberling43ec6fa2013-08-06 16:44:42 -070036# For unit testing:
37
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(...);
44}
45