android synchronized stopCapture

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages 2023-04-21 11:00:04 +08:00
parent 15612069f1
commit 009c88e0df

View File

@ -384,6 +384,7 @@ class MainService : Service() {
return true return true
} }
@Synchronized
fun stopCapture() { fun stopCapture() {
Log.d(logTag, "Stop Capture") Log.d(logTag, "Stop Capture")
setFrameRawEnable("video",false) setFrameRawEnable("video",false)