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
commit63764789fdef4dfcdb3c0e1a9fa46b5d62312f07 (patch)
tree74dd5d9d768833510460e8f0d13fc4336fbc7ebe /proguard.flags
parent8b266743b1f4c6e6b5169a5027facf8a9d648198 (diff)
downloadandroid_packages_apps_Gallery2-63764789fdef4dfcdb3c0e1a9fa46b5d62312f07.zip
android_packages_apps_Gallery2-63764789fdef4dfcdb3c0e1a9fa46b5d62312f07.tar.gz
android_packages_apps_Gallery2-63764789fdef4dfcdb3c0e1a9fa46b5d62312f07.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(...);
+}