@@ -59,8 +59,8 @@ android {
|
|||||||
applicationId = "io.github.miuzarte.scrcpyforandroid"
|
applicationId = "io.github.miuzarte.scrcpyforandroid"
|
||||||
minSdk = 26
|
minSdk = 26
|
||||||
targetSdk = 37
|
targetSdk = 37
|
||||||
versionCode = 34
|
versionCode = 35
|
||||||
versionName = "0.4.3"
|
versionName = "0.4.4"
|
||||||
|
|
||||||
externalNativeBuild {
|
externalNativeBuild {
|
||||||
cmake {
|
cmake {
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ import kotlinx.coroutines.flow.StateFlow
|
|||||||
import java.lang.ref.WeakReference
|
import java.lang.ref.WeakReference
|
||||||
|
|
||||||
class StreamActivity: FragmentActivity() {
|
class StreamActivity: FragmentActivity() {
|
||||||
private val basicPip = BasicPictureInPicture(this, ContextCompat.getMainExecutor(this))
|
private val basicPip by lazy { BasicPictureInPicture(this, ContextCompat.getMainExecutor(this)) }
|
||||||
|
|
||||||
private val pipActionReceiver = PictureInPictureActionReceiver()
|
private val pipActionReceiver = PictureInPictureActionReceiver()
|
||||||
private var isPipActionReceiverRegistered = false
|
private var isPipActionReceiverRegistered = false
|
||||||
|
|||||||
Reference in New Issue
Block a user