Kaynağa Gözat

Set progress dialog cancelable to false

Wayne 6 yıl önce
ebeveyn
işleme
5ff3bcb8bb

+ 1 - 0
src/main/java/com/bomostory/sceneeditmodule/MovieEditActivity.kt

@@ -254,6 +254,7 @@ class MovieEditActivity : AppCompatActivity(), DialogInterface.OnDismissListener
             val t = scene?.record?.period ?: 0
             max = (t / 33).toInt()
             setMessage("progressing")
+            setCancelable(false)
         }
 
         val fileName = "test${System.currentTimeMillis()}.mp4"