summaryrefslogtreecommitdiffstats
path: root/proguard.flags
diff options
context:
space:
mode:
authorChih-Chung Chang <chihchung@google.com>2012-03-08 20:10:53 +0800
committerChih-Chung Chang <chihchung@google.com>2012-03-08 20:10:53 +0800
commit95d15606219aacc2bc986461f068b7f9610e9f7c (patch)
tree5ebdfe620a16e7fff18b0a24b785ee2a1dc0f722 /proguard.flags
parent734290823b0326dc18a85a7a3bc03f6a0bc0f18d (diff)
downloadandroid_packages_apps_Snap-95d15606219aacc2bc986461f068b7f9610e9f7c.zip
android_packages_apps_Snap-95d15606219aacc2bc986461f068b7f9610e9f7c.tar.gz
android_packages_apps_Snap-95d15606219aacc2bc986461f068b7f9610e9f7c.tar.bz2
Merge Camera into Gallery package.
Change-Id: If66d4b841eec3d3f5384a561b07c0eeade92597a
Diffstat (limited to 'proguard.flags')
-rw-r--r--proguard.flags24
1 files changed, 24 insertions, 0 deletions
diff --git a/proguard.flags b/proguard.flags
index a8cb363..8250933 100644
--- a/proguard.flags
+++ b/proguard.flags
@@ -8,3 +8,27 @@
-keep class * extends com.android.gallery3d.common.Entry {
@com.android.gallery3d.common.Entry$Column <fields>;
}
+
+# ctors of subclasses of CameraPreference are called with Java reflection.
+-keep class * extends com.android.camera.CameraPreference {
+ <init>(...);
+}
+
+-keep class com.android.camera.ActivityBase {
+ public int getResultCode();
+ public android.content.Intent getResultData();
+}
+
+-keep class com.android.camera.VideoCamera {
+ public boolean isRecording();
+ public void onCancelBgTraining(...);
+ public void onProtectiveCurtainClick(...);
+}
+
+-keep class * extends android.app.Activity {
+ @com.android.camera.OnClickAttr <methods>;
+}
+
+-keep class com.android.camera.CameraHolder {
+ public static void injectMockCamera(...);
+}