Remove unused api in QuickContact.java and fix the build.
Change-Id: I46a6d39c8176806c2b5570c75b59ff9631ee53f1
diff --git a/api/current.xml b/api/current.xml
index 3ef93c5..ab5369c 100644
--- a/api/current.xml
+++ b/api/current.xml
@@ -186352,19 +186352,6 @@
<parameter name="excludeMimes" type="java.lang.String[]">
</parameter>
</method>
-<method name="setMode"
- return="void"
- abstract="false"
- native="false"
- synchronized="false"
- static="false"
- final="false"
- deprecated="not deprecated"
- visibility="public"
->
-<parameter name="size" type="int">
-</parameter>
-</method>
<field name="mExcludeMimes"
type="java.lang.String[]"
transient="false"
diff --git a/core/java/android/widget/QuickContactBadge.java b/core/java/android/widget/QuickContactBadge.java
index 775245a..b550d69 100644
--- a/core/java/android/widget/QuickContactBadge.java
+++ b/core/java/android/widget/QuickContactBadge.java
@@ -170,15 +170,6 @@
}
}
- /**
- * Set the QuickContact window mode. Options are {@link FastTrack#MODE_SMALL},
- * {@link FastTrack#MODE_MEDIUM}, {@link FastTrack#MODE_LARGE}.
- * @param size
- */
- public void setMode(int size) {
- mMode = size;
- }
-
public void onClick(View v) {
if (mContactUri != null) {
final ContentResolver resolver = getContext().getContentResolver();