summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Kennedy <skennedy@google.com>2013-06-19 11:52:08 -0700
committerScott Kennedy <skennedy@google.com>2013-06-19 11:55:35 -0700
commitc438c7b3b8a621c3aeccfeaa56f66935fdb1b177 (patch)
tree1df1a985ad4e7141028b6dff9d7f7985a6ad447e
parent17d266469a185c44a705732310b8296393bc1668 (diff)
downloadandroid_frameworks_ex-c438c7b3b8a621c3aeccfeaa56f66935fdb1b177.tar.gz
android_frameworks_ex-c438c7b3b8a621c3aeccfeaa56f66935fdb1b177.tar.bz2
android_frameworks_ex-c438c7b3b8a621c3aeccfeaa56f66935fdb1b177.zip
Prepare to remove a null check
I am fairly convinced that the fix for 9408464 will also fix the underlying problem of this adapter being null. If this log method is ever called, then I'll know it didn't work, but I believe this will never be called. Bug: 9497893 Change-Id: I08518ceecee6985462d0165fb16b1dea95181b07
-rw-r--r--chips/src/com/android/ex/chips/RecipientEditTextView.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/chips/src/com/android/ex/chips/RecipientEditTextView.java b/chips/src/com/android/ex/chips/RecipientEditTextView.java
index d2e5806..aaf4a05 100644
--- a/chips/src/com/android/ex/chips/RecipientEditTextView.java
+++ b/chips/src/com/android/ex/chips/RecipientEditTextView.java
@@ -2494,6 +2494,7 @@ public class RecipientEditTextView extends MultiAutoCompleteTextView implements
}
final BaseRecipientAdapter adapter = (BaseRecipientAdapter) getAdapter();
if (adapter == null) {
+ Log.wtf(TAG, "My assumption that this was fixed is wrong.");
return null;
}
RecipientAlternatesAdapter.getMatchingRecipients(getContext(), addresses,