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

Commit c93b6500 authored by Evan Chen's avatar Evan Chen
Browse files

Fix renaming in device filter

Fix: 230132973
Test: atest CtsCompanionDeviceManagerCoreTestCases
      atest CtsCompanionDeviceManagerUiAutomationTestCases
      atest CtsOsTestCases:CompanionDeviceManagerTest
Change-Id: I5badf22416f1243f41ce71171528130db080f75d
parent abe07300
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@ class DeviceFilterPair<T extends Parcelable> {
    }

    String getDisplayName() {
        if (mFilter != null) mFilter.getDeviceDisplayName(mDevice);
        if (mFilter != null) return mFilter.getDeviceDisplayName(mDevice);

        if (mDevice instanceof BluetoothDevice) {
            return getDeviceDisplayNameInternal((BluetoothDevice) mDevice);