Index: chrome/android/java/src/org/chromium/chrome/browser/widget/selection/SelectableListLayout.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/widget/selection/SelectableListLayout.java b/chrome/android/java/src/org/chromium/chrome/browser/widget/selection/SelectableListLayout.java |
index 464b5b52cc9c0b145a125526352d84de201a83f2..3594397c987157857eb21e74122996900b8a8ae7 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/widget/selection/SelectableListLayout.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/widget/selection/SelectableListLayout.java |
@@ -139,10 +139,12 @@ public class SelectableListLayout<E> extends RelativeLayout { |
* |
* @param emptyDrawable The Drawable to show when the selectable list is empty. |
* @param emptyStringResId The string to show when the selectable list is empty. |
+ * @return The {@link TextView} displayed when the list is empty. |
*/ |
- public void initializeEmptyView(Drawable emptyDrawable, int emptyStringResId) { |
+ public TextView initializeEmptyView(Drawable emptyDrawable, int emptyStringResId) { |
mEmptyView.setCompoundDrawablesWithIntrinsicBounds(null, emptyDrawable, null, null); |
mEmptyView.setText(emptyStringResId); |
+ return mEmptyView; |
} |
/** |