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

Commit 59cfee80 authored by Vlad Popa's avatar Vlad Popa Committed by Android (Google) Code Review
Browse files

Merge "Allow to reset to category unknown." into main

parents 98f4088c c491da46
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -167,8 +167,7 @@ public class AudioDeviceInventory {
                ads = findBtDeviceStateForAddress(peerAddress, deviceType);
            }
            if (ads != null) {
                if (ads.getAudioDeviceCategory() != category
                        && category != AUDIO_DEVICE_CATEGORY_UNKNOWN) {
                if (ads.getAudioDeviceCategory() != category) {
                    ads.setAudioDeviceCategory(category);
                    mDeviceBroker.postUpdatedAdiDeviceState(ads);
                    mDeviceBroker.postPersistAudioDeviceSettings();