| 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 c50753cbcdddd330e76661eb98a28f5105e08515..482b502aa9e3805e5220515d7785285f2618ff22 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
|
| @@ -5,7 +5,7 @@
|
| package org.chromium.chrome.browser.widget.selection;
|
|
|
| import android.content.Context;
|
| -import android.support.graphics.drawable.VectorDrawableCompat;
|
| +import android.graphics.drawable.Drawable;
|
| import android.support.v4.widget.DrawerLayout;
|
| import android.support.v7.widget.LinearLayoutManager;
|
| import android.support.v7.widget.RecyclerView;
|
| @@ -129,14 +129,11 @@ public class SelectableListLayout extends RelativeLayout {
|
| /**
|
| * Initializes the view shown when the selectable list is empty.
|
| *
|
| - * @param emptyIconResId The icon to show when the selectable list is empty.
|
| + * @param emptyDrawable The Drawable to show when the selectable list is empty.
|
| * @param emptyStringResId The string to show when the selectable list is empty.
|
| */
|
| - public void initializeEmptyView(int emptyIconResId, int emptyStringResId) {
|
| - mEmptyView.setCompoundDrawablesWithIntrinsicBounds(null,
|
| - VectorDrawableCompat.create(getResources(), emptyIconResId,
|
| - getContext().getTheme()),
|
| - null, null);
|
| + public void initializeEmptyView(Drawable emptyDrawable, int emptyStringResId) {
|
| + mEmptyView.setCompoundDrawablesWithIntrinsicBounds(null, emptyDrawable, null, null);
|
| mEmptyView.setText(emptyStringResId);
|
| }
|
|
|
|
|