feat: picture in picture
- 移除了 MainScreen 中的全屏方向处理及相关状态管理 - 引入 AppRuntime 用于管理跨 Activity 的共享实例 - 创建 StreamScreen 用于画中画模式 - 实现 VideoOutputTarget 和 VideoOutputTargetState 以管理视频输出状态
This commit is contained in:
@@ -20,8 +20,8 @@ android {
|
||||
applicationId = "io.github.miuzarte.scrcpyforandroid"
|
||||
minSdk = 26
|
||||
targetSdk = 36
|
||||
versionCode = 6
|
||||
versionName = "0.1.0"
|
||||
versionCode = 7
|
||||
versionName = "0.1.1"
|
||||
|
||||
externalNativeBuild {
|
||||
cmake {
|
||||
@@ -57,8 +57,8 @@ android {
|
||||
}
|
||||
}
|
||||
compileOptions {
|
||||
sourceCompatibility = JavaVersion.VERSION_11
|
||||
targetCompatibility = JavaVersion.VERSION_11
|
||||
sourceCompatibility = JavaVersion.VERSION_17
|
||||
targetCompatibility = JavaVersion.VERSION_17
|
||||
}
|
||||
buildFeatures {
|
||||
compose = true
|
||||
@@ -80,6 +80,7 @@ dependencies {
|
||||
implementation(libs.androidx.core.ktx)
|
||||
implementation(libs.androidx.lifecycle.runtime.ktx)
|
||||
implementation(libs.androidx.activity.compose)
|
||||
implementation(libs.androidx.core.pip)
|
||||
implementation(platform(libs.androidx.compose.bom))
|
||||
implementation(libs.androidx.compose.ui)
|
||||
implementation(libs.androidx.compose.ui.tooling.preview)
|
||||
|
||||
Reference in New Issue
Block a user