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

Commit b48a4281 authored by Michael W's avatar Michael W
Browse files

Recorder: Remove deprecated onBackPressed override

Dialog still closes with all tested cases:
 * Edge swipe
 * 3-button-navigation's back-key
 * outside touch

Change-Id: I4cf021fb7e0fbfa89c4a4ae7e35e913acd88c8b8
parent edb428a2
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -58,11 +58,6 @@ class DialogActivity : AppCompatActivity() {
        }
    }

    @Deprecated("Deprecated in Java")
    override fun onBackPressed() {
        finish()
    }

    private fun setupLocationSwitch(
        locationSwitch: MaterialSwitch,
        isRecording: Boolean