Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6666f9cc authored by Jason Monk's avatar Jason Monk
Browse files

Fix multiple bluetooth devices bug

Was bug in some code trying to handle preference animations better.
Since those animations are all disabled now, just remove everything
again and re-add it.

Change-Id: If1ce07a8f2b4144d95a95cec6ebb1b423644825a
Fixes: 29314480
parent 0fd853ad
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -320,11 +320,10 @@ public final class BluetoothSettings extends DeviceListPreferenceFragment implem
                    messageId = R.string.bluetooth_empty_list_user_restricted;
                    break;
                }
                if (getPreferenceScreen().getPreferenceCount() == 0) {
                getPreferenceScreen().removeAll();
                getPreferenceScreen().addPreference(mPairedDevicesCategory);
                getPreferenceScreen().addPreference(mAvailableDevicesCategory);
                getPreferenceScreen().addPreference(mMyDevicePreference);
                }

                // Paired devices category
                addDeviceCategory(mPairedDevicesCategory,