summaryrefslogtreecommitdiffstats
path: root/proguard.flags
diff options
context:
space:
mode:
authorChiao Cheng <chiaocheng@google.com>2012-08-17 16:59:12 -0700
committerChiao Cheng <chiaocheng@google.com>2012-08-21 13:31:19 -0700
commit94b10b530c0fc297e2974e57e094c500d3ee6003 (patch)
treeb74d663c2663b5db2f6da888081648ce054480f5 /proguard.flags
parentdab5cd8890c0d0ca9001a13c2197114a4002338a (diff)
downloadandroid_packages_apps_Dialer-94b10b530c0fc297e2974e57e094c500d3ee6003.tar.gz
android_packages_apps_Dialer-94b10b530c0fc297e2974e57e094c500d3ee6003.tar.bz2
android_packages_apps_Dialer-94b10b530c0fc297e2974e57e094c500d3ee6003.zip
Initial move of dialer features from contacts app.
Bug: 6993891 Change-Id: I758ce359ca7e87a1d184303822979318be171921
Diffstat (limited to 'proguard.flags')
-rw-r--r--proguard.flags16
1 files changed, 16 insertions, 0 deletions
diff --git a/proguard.flags b/proguard.flags
new file mode 100644
index 000000000..9e9ed6441
--- /dev/null
+++ b/proguard.flags
@@ -0,0 +1,16 @@
+# Xml files containing onClick (menus and layouts) require that proguard not
+# remove their handlers.
+-keepclassmembers class * extends android.app.Activity {
+ public void *(android.view.View);
+ public void *(android.view.MenuItem);
+}
+
+# Any class or method annotated with NeededForTesting or NeededForReflection.
+-keep @com.android.contacts.test.NeededForTesting class *
+-keep @com.android.contacts.test.NeededForReflection class *
+-keepclassmembers class * {
+@com.android.contacts.test.NeededForTesting *;
+@com.android.contacts.test.NeededForReflection *;
+}
+
+-verbose