commit | 3389397186b93936747d4009a35f5bae605c246e | [log] [tgz] |
---|---|---|
author | Michael Chan <mchan@android.com> | Wed Nov 16 12:45:53 2011 -0800 |
committer | Michael Chan <mchan@android.com> | Wed Nov 16 12:56:19 2011 -0800 |
tree | 45d9e6ed7b5cf02a7f5b01d9974e635c614d2cff | |
parent | 597e417faca4c943e73e199347f8cbef5a3bdda5 [diff] [blame] |
b/5628018 Fix NPE in ExpandableTextView Change-Id: If4ded8ba430f1c984821cb0333c485ad439c10f4
diff --git a/src/com/android/calendar/ExpandableTextView.java b/src/com/android/calendar/ExpandableTextView.java index 026e3de..508528e 100644 --- a/src/com/android/calendar/ExpandableTextView.java +++ b/src/com/android/calendar/ExpandableTextView.java
@@ -119,6 +119,9 @@ } public CharSequence getText() { + if (mTv == null) { + return ""; + } return mTv.getText(); } }