Fix regression in Bluetooth settings.

Bug: 7207090
Change-Id: Ie14a1d36a61b571766d2025ed7d8079712727690
This commit is contained in:
Jeff Brown
2012-09-24 20:33:51 -07:00
parent 8bea3c3fb8
commit a17a5b814f
5 changed files with 34 additions and 6 deletions

View File

@@ -282,8 +282,7 @@ public final class BluetoothSettings extends DeviceListPreferenceFragment {
// Available devices category
if (mAvailableDevicesCategory == null) {
mAvailableDevicesCategory = new ProgressCategory(getActivity(), null,
R.string.bluetooth_no_devices_found);
mAvailableDevicesCategory = new BluetoothProgressCategory(getActivity(), null);
} else {
mAvailableDevicesCategory.removeAll();
}