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

@@ -193,8 +193,8 @@ public abstract class DeviceListPreferenceFragment extends
}
private void updateProgressUi(boolean start) {
if (mDeviceListGroup instanceof ProgressCategory) {
((ProgressCategory) mDeviceListGroup).setProgress(start);
if (mDeviceListGroup instanceof BluetoothProgressCategory) {
((BluetoothProgressCategory) mDeviceListGroup).setProgress(start);
}
}