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

Commit eeeaacad authored by Nishith  Khanna's avatar Nishith Khanna
Browse files

Merge remote-tracking branch 'origin/lineage-23.0' into a16

parents cd41dd67 de05f520
Loading
Loading
Loading
Loading
+2 −2
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
 */

@@ -12,7 +12,7 @@ class PreferencesManager(context: Context) {
    private val preferences = context.getSharedPreferences(PREFS, Context.MODE_PRIVATE)

    var recordInHighQuality: Boolean
        get() = preferences.getInt(PREF_RECORDING_QUALITY, 0) == 1
        get() = preferences.getInt(PREF_RECORDING_QUALITY, 1) == 1
        set(value) {
            preferences.edit()
                .putInt(PREF_RECORDING_QUALITY, if (value) 1 else 0)