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

Commit 575e9918 authored by Jason Monk's avatar Jason Monk Committed by gitbuildkicker
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
(cherry picked from commit 6666f9cc)
(cherry picked from commit e2428aff)
parent 1a4f1379
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,