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

Commit 9a8554e8 authored by jasonwshsu's avatar jasonwshsu
Browse files

Fix connected device show with 'active' color with no summary

Root Cause: Use the wrong parent class for AvailableHearingDeviceItemFactory

Solution: Change to extends it from AvailableMediaDeviceItemFactory

Bug: 342327753
Test: UI check manually
Flag: EXEMPT bugfix
Change-Id: I2e546f2a95296048650feb963597bcd1aed549c8
parent 8eb3c0f4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -155,7 +155,7 @@ internal open class AvailableMediaDeviceItemFactory : DeviceItemFactory() {
    }
}

internal class AvailableHearingDeviceItemFactory : ActiveMediaDeviceItemFactory() {
internal class AvailableHearingDeviceItemFactory : AvailableMediaDeviceItemFactory() {
    override fun isFilterMatched(
        context: Context,
        cachedDevice: CachedBluetoothDevice,