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

Unverified Commit 0d41c480 authored by Luca Stefani's avatar Luca Stefani
Browse files

Recorder: Remove unused check

Doesn't seem to happen anymore

Change-Id: I5249e074100b0cc5cc41a72aa96d84f07457f33d
parent 0ab4aa93
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
/*
 * SPDX-FileCopyrightText: 2021-2024 The LineageOS Project
 * SPDX-FileCopyrightText: 2021-2025 The LineageOS Project
 * SPDX-License-Identifier: Apache-2.0
 */

@@ -63,11 +63,6 @@ class RecordingsAdapter(
    ) {
        super.onCurrentListChanged(previousList, currentList)

        // This gets randomly called with null as argument
        if (currentList == null) {
            return
        }

        val dataTypeToIndex = mutableMapOf<Recording, Int>()
        for (i in currentList.indices) {
            dataTypeToIndex[currentList[i]] = i