From d53138b1ffa823be0ead7b303ce4aec2ddde5953 Mon Sep 17 00:00:00 2001 From: pacien Date: Tue, 8 Sep 2020 20:50:25 +0200 Subject: activities/start: add missing callback super call --- .../java/org/pacien/tincapp/activities/start/StartActivity.kt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'app/src/main/java/org') diff --git a/app/src/main/java/org/pacien/tincapp/activities/start/StartActivity.kt b/app/src/main/java/org/pacien/tincapp/activities/start/StartActivity.kt index 909078f..144326d 100644 --- a/app/src/main/java/org/pacien/tincapp/activities/start/StartActivity.kt +++ b/app/src/main/java/org/pacien/tincapp/activities/start/StartActivity.kt @@ -86,9 +86,13 @@ class StartActivity : BaseActivity() { super.onPause() } - override fun onActivityResult(request: Int, result: Int, data: Intent?): Unit = when (request) { - permissionRequestCode -> continueConnectionStart(result) - else -> throw IllegalArgumentException("Result for unknown request received.") + override fun onActivityResult(request: Int, result: Int, data: Intent?) { + when (request) { + permissionRequestCode -> continueConnectionStart(result) + else -> throw IllegalArgumentException("Result for unknown request received.") + } + + super.onActivityResult(request, result, data) } private fun continueConnectionStart(result: Int): Unit = when (result) { -- cgit v1.2.3