Sfoglia il codice sorgente

Set progress dialog cancelable to false

Wayne 6 anni fa
parent
commit
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"