OSDN Git Service

Fix background replacement crash in camcorder.
authorWu-cheng Li <wuchengli@google.com>
Thu, 27 Sep 2012 02:49:46 +0000 (10:49 +0800)
committerWu-cheng Li <wuchengli@google.com>
Thu, 27 Sep 2012 02:49:46 +0000 (10:49 +0800)
Add proguard flag to prevent methods from removing.

bug:7106963
Change-Id: I0e7372c3091dd02d4b475924d06b033717ca2028

proguard.flags

index 098a540..7cd6c19 100644 (file)
   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>;
 }