diff --git a/android/app/src/main/kotlin/com/jonjomckay/fritter/MainActivity.kt b/android/app/src/main/kotlin/com/jonjomckay/fritter/MainActivity.kt index 260693fb..3e4a8d73 100644 --- a/android/app/src/main/kotlin/com/jonjomckay/fritter/MainActivity.kt +++ b/android/app/src/main/kotlin/com/jonjomckay/fritter/MainActivity.kt @@ -3,4 +3,13 @@ package com.jonjomckay.fritter import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { + + protected override fun onPause() { + super.onPause() + try { + java.lang.Thread.sleep(200) + } catch (e: InterruptedException) { + e.printStackTrace() + } + } }