OSDN Git Service

Change default video quality to medium
[android-x86/packages-apps-Camera2.git] / proguard.flags
1 # Disable the warnings of using dynamic method call in common library.
2 -dontnote com.android.gallery3d.common.*
3
4 # 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();
17   public long getFirstPreviewTime();
18 }
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
36 # 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
46 # TODO: remove or rename android.util.Pools.java from our source.
47 -dontwarn android.util.Pools*
48