summaryrefslogtreecommitdiffstats
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
commit23c71c4053b914ac86367704bd9a1402dd8a88c8 (patch)
tree2255c0624325593c296e1185c7a7c7dcaaf0b16a
parent8c32a04458f04d2a6b0dca05c98e24c9bc5c412a (diff)
downloadandroid_packages_apps_Snap-23c71c4053b914ac86367704bd9a1402dd8a88c8.tar.gz
android_packages_apps_Snap-23c71c4053b914ac86367704bd9a1402dd8a88c8.tar.bz2
android_packages_apps_Snap-23c71c4053b914ac86367704bd9a1402dd8a88c8.zip
Fix background replacement crash in camcorder.
Add proguard flag to prevent methods from removing. bug:7106963 Change-Id: I0e7372c3091dd02d4b475924d06b033717ca2028
-rw-r--r--proguard.flags6
1 files changed, 6 insertions, 0 deletions
diff --git a/proguard.flags b/proguard.flags
index 098a540c9..7cd6c19c1 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>;
}