blob: 9d477262adabb66082d9b118ee5f66c10af46377 [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.*
Alok Kediyaaed65252013-09-23 14:31:42 +05303#Avoid the library class dependency error
4-dontwarn android.view.inputmethod.InputMethodManager
Natiq Ahmed32d78212014-09-26 17:15:44 +05305-dontwarn android.content.res.Resources
Sascha Haeberling43ec6fa2013-08-06 16:44:42 -07006
Sascha Haeberling43ec6fa2013-08-06 16:44:42 -07007# ctors of subclasses of CameraPreference are called with Java reflection.
8-keep class * extends com.android.camera.CameraPreference {
9 <init>(...);
10}
11
12-keep class com.android.camera.CameraActivity {
13 public boolean isRecording();
14 public long getAutoFocusTime();
15 public long getShutterLag();
16 public long getShutterToPictureDisplayedTime();
17 public long getPictureDisplayedToJpegCallbackTime();
18 public long getJpegCallbackFinishTime();
19 public long getCaptureStartTime();
20}
21
22-keep class com.android.camera.VideoModule {
23 public void onCancelBgTraining(...);
24 public void onProtectiveCurtainClick(...);
25}
26
27-keep class * extends android.app.Activity {
28 @com.android.camera.OnClickAttr <methods>;
29}
30
31-keep class com.android.camera.CameraHolder {
32 public static void injectMockCamera(...);
33}
34
35# Disable the warnings of using dynamic method calls in EffectsRecorder
36-dontnote com.android.camera.EffectsRecorder
37
Sascha Haeberling43ec6fa2013-08-06 16:44:42 -070038# For unit testing:
39
40# - Required for running exif tests on userdebug
41-keep class com.android.gallery3d.exif.ExifTag { *; }
42-keep class com.android.gallery3d.exif.ExifData { *; }
43-keep class com.android.gallery3d.exif.ExifInterface { *; }
44-keepclassmembers class com.android.gallery3d.exif.Util {
45 *** closeSilently(...);
46}
47
Jack Yooa02710a2016-04-06 16:07:22 -070048-keepclasseswithmembernames class * {
49 native <methods>;
50}
51
52-keep class * {
53 public <methods>;
54 public <fields>;
55 private <methods>;
56 private <fields>;
57}
58
59-keep class android.renderscript.** { *; }