summaryrefslogtreecommitdiffstats
path: root/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
diff options
context:
space:
mode:
authorAndy Huang <ath@google.com>2011-11-18 14:57:32 -0800
committerAndy Huang <ath@google.com>2011-11-18 14:57:32 -0800
commit83aeec8f707e5653646d4d8e83177046771ecc75 (patch)
tree17df860e17251f753295f3ffb95cda060c4cadbe /chips/src/com/android/ex/chips/BaseRecipientAdapter.java
parentec35d9975b61c84cda7081ebfce9e017229fb3d5 (diff)
downloadandroid_frameworks_ex-83aeec8f707e5653646d4d8e83177046771ecc75.tar.gz
android_frameworks_ex-83aeec8f707e5653646d4d8e83177046771ecc75.tar.bz2
android_frameworks_ex-83aeec8f707e5653646d4d8e83177046771ecc75.zip
drive-by fixes for compiler warnings
Change-Id: Ibb32bf4f49cc9c48d6d02e664f48f838c7024f91
Diffstat (limited to 'chips/src/com/android/ex/chips/BaseRecipientAdapter.java')
-rw-r--r--chips/src/com/android/ex/chips/BaseRecipientAdapter.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/chips/src/com/android/ex/chips/BaseRecipientAdapter.java b/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
index a90a6be..8c251bb 100644
--- a/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
+++ b/chips/src/com/android/ex/chips/BaseRecipientAdapter.java
@@ -28,7 +28,6 @@ import android.graphics.BitmapFactory;
import android.net.Uri;
import android.os.AsyncTask;
import android.os.Handler;
-import android.os.HandlerThread;
import android.os.Message;
import android.provider.ContactsContract;
import android.provider.ContactsContract.CommonDataKinds.Email;
@@ -404,6 +403,7 @@ public abstract class BaseRecipientAdapter extends BaseAdapter implements Filter
// overwritten so shouldn't be touched here anymore.
if (TextUtils.equals(constraint, mCurrentConstraint)) {
if (results.count > 0) {
+ @SuppressWarnings("unchecked")
final ArrayList<TemporaryEntry> tempEntries =
(ArrayList<TemporaryEntry>) results.values;
@@ -517,6 +517,7 @@ public abstract class BaseRecipientAdapter extends BaseAdapter implements Filter
/**
* Set the account when known. Causes the search to prioritize contacts from that account.
*/
+ @Override
public void setAccount(Account account) {
mAccount = account;
}