From 1f5fdab61ee0c343cd2ad06ad872d23efcf25b0b Mon Sep 17 00:00:00 2001 From: Fan Zhang Date: Thu, 9 Mar 2017 13:50:29 -0800 Subject: [PATCH] Misc fixes - Remove tiny icon in bluetooth subheader - Turn new search on Fix: 35917435 Test: make RunSettingsRoboTests Change-Id: I97a02319108a46a0c3df2295ddec49d47f13b597 --- .../android/settings/bluetooth/BluetoothProgressCategory.java | 1 - src/com/android/settings/search2/SearchFeatureProviderImpl.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/com/android/settings/bluetooth/BluetoothProgressCategory.java b/src/com/android/settings/bluetooth/BluetoothProgressCategory.java index a36c98b60fe..ec948e03057 100644 --- a/src/com/android/settings/bluetooth/BluetoothProgressCategory.java +++ b/src/com/android/settings/bluetooth/BluetoothProgressCategory.java @@ -48,7 +48,6 @@ public class BluetoothProgressCategory extends ProgressCategory { } private void init() { - setIcon(R.drawable.ic_settings_bluetooth); setEmptyTextRes(R.string.bluetooth_no_devices_found); } } diff --git a/src/com/android/settings/search2/SearchFeatureProviderImpl.java b/src/com/android/settings/search2/SearchFeatureProviderImpl.java index b1616863ecb..cd9c470ecd0 100644 --- a/src/com/android/settings/search2/SearchFeatureProviderImpl.java +++ b/src/com/android/settings/search2/SearchFeatureProviderImpl.java @@ -40,7 +40,7 @@ public class SearchFeatureProviderImpl implements SearchFeatureProvider { @Override public boolean isEnabled(Context context) { - return false; + return true; } @Override