From 81e863b2aed2e7e7fcd2e9cd541ad05f46e01646 Mon Sep 17 00:00:00 2001 From: Wu-cheng Li Date: Thu, 27 Sep 2012 10:49:46 +0800 Subject: Fix background replacement crash in camcorder. Add proguard flag to prevent methods from removing. bug:7106963 Change-Id: I0e7372c3091dd02d4b475924d06b033717ca2028 --- proguard.flags | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'proguard.flags') 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 ; } -- cgit v1.2.3