summaryrefslogtreecommitdiffstats
path: root/proguard.flags
diff options
context:
space:
mode:
authorWu-cheng Li <wuchengli@google.com>2012-09-27 10:49:46 +0800
committerWu-cheng Li <wuchengli@google.com>2012-09-27 10:49:46 +0800
commit81e863b2aed2e7e7fcd2e9cd541ad05f46e01646 (patch)
treef5570abaec6f49e90377758d5b250b5382b4b86e /proguard.flags
parent69d781ad1a135615a6d0e7cd6cf41db8fb9eabca (diff)
downloadandroid_packages_apps_Gallery2-81e863b2aed2e7e7fcd2e9cd541ad05f46e01646.zip
android_packages_apps_Gallery2-81e863b2aed2e7e7fcd2e9cd541ad05f46e01646.tar.gz
android_packages_apps_Gallery2-81e863b2aed2e7e7fcd2e9cd541ad05f46e01646.tar.bz2
Fix background replacement crash in camcorder.
Add proguard flag to prevent methods from removing. bug:7106963 Change-Id: I0e7372c3091dd02d4b475924d06b033717ca2028
Diffstat (limited to 'proguard.flags')
-rw-r--r--proguard.flags6
1 files changed, 6 insertions, 0 deletions
diff --git a/proguard.flags b/proguard.flags
index 098a540..7cd6c19 100644
--- a/proguard.flags
+++ b/proguard.flags
@@ -25,6 +25,12 @@
public void onProtectiveCurtainClick(...);
}
+-keep class com.android.camera.VideoModule {
+ public boolean isRecording();
+ public void onCancelBgTraining(...);
+ public void onProtectiveCurtainClick(...);
+}
+
-keep class * extends android.app.Activity {
@com.android.camera.OnClickAttr <methods>;
}