summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2013-09-19 18:27:51 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-09-19 18:27:51 +0000
commit18b94817a452081f6756cd30be9414c496fa1ca7 (patch)
tree56268a238a821694b28b5ab10b4baad02cc11720 /packages
parent7cb93f4e227d603dadd065ea4173b6779279221e (diff)
parentf8abf2e387681f2ed7631783418972972379d740 (diff)
downloadframeworks_base-18b94817a452081f6756cd30be9414c496fa1ca7.zip
frameworks_base-18b94817a452081f6756cd30be9414c496fa1ca7.tar.gz
frameworks_base-18b94817a452081f6756cd30be9414c496fa1ca7.tar.bz2
Merge "Also catch one more tablet layout NPE." into klp-dev
Diffstat (limited to 'packages')
-rw-r--r--packages/DocumentsUI/src/com/android/documentsui/RecentsCreateFragment.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/DocumentsUI/src/com/android/documentsui/RecentsCreateFragment.java b/packages/DocumentsUI/src/com/android/documentsui/RecentsCreateFragment.java
index 140373b..b533925 100644
--- a/packages/DocumentsUI/src/com/android/documentsui/RecentsCreateFragment.java
+++ b/packages/DocumentsUI/src/com/android/documentsui/RecentsCreateFragment.java
@@ -206,7 +206,7 @@ public class RecentsCreateFragment extends Fragment {
title.setText(builder);
title.setEllipsize(TruncateAt.MIDDLE);
- line2.setVisibility(View.GONE);
+ if (line2 != null) line2.setVisibility(View.GONE);
return convertView;
}