OSDN Git Service
(root)
/
android-x86
/
packages-apps-Camera2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c32a04
)
Fix background replacement crash in camcorder.
author
Wu-cheng Li
<wuchengli@google.com>
Thu, 27 Sep 2012 02:49:46 +0000
(10:49 +0800)
committer
Wu-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
patch
|
blob
|
history
diff --git
a/proguard.flags
b/proguard.flags
index
098a540
..
7cd6c19
100644
(file)
--- 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>;
}