summaryrefslogtreecommitdiffstats
path: root/packages/DocumentsUI/src/com
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2013-09-19 11:25:56 -0700
committerJeff Sharkey <jsharkey@android.com>2013-09-19 11:25:56 -0700
commitf8abf2e387681f2ed7631783418972972379d740 (patch)
treeda02ac336db671dc8af4c7ce3b2ea855b8286017 /packages/DocumentsUI/src/com
parent0aaeaab0bf954a7ff34a4894c509ca6a137079eb (diff)
downloadframeworks_base-f8abf2e387681f2ed7631783418972972379d740.zip
frameworks_base-f8abf2e387681f2ed7631783418972972379d740.tar.gz
frameworks_base-f8abf2e387681f2ed7631783418972972379d740.tar.bz2
Also catch one more tablet layout NPE.
Bug: 10837208 Change-Id: I178110431221773658403319b2be7aff22adadc8
Diffstat (limited to 'packages/DocumentsUI/src/com')
-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;
}