feat: picture in picture
- 移除了 MainScreen 中的全屏方向处理及相关状态管理 - 引入 AppRuntime 用于管理跨 Activity 的共享实例 - 创建 StreamScreen 用于画中画模式 - 实现 VideoOutputTarget 和 VideoOutputTargetState 以管理视频输出状态
This commit is contained in:
@@ -19,6 +19,10 @@
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/Theme.ScrcpyForAndroid">
|
||||
|
||||
<receiver
|
||||
android:name=".services.PictureInPictureActionReceiver"
|
||||
android:exported="false" />
|
||||
|
||||
<activity
|
||||
android:name=".MainActivity"
|
||||
android:configChanges="keyboardHidden|orientation|screenSize|smallestScreenSize"
|
||||
@@ -30,6 +34,13 @@
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<activity
|
||||
android:name=".StreamActivity"
|
||||
android:configChanges="keyboardHidden|orientation|screenSize|smallestScreenSize"
|
||||
android:exported="false"
|
||||
android:resizeableActivity="true"
|
||||
android:supportsPictureInPicture="true" />
|
||||
|
||||
<!-- <profileable android:shell="true" /> -->
|
||||
|
||||
</application>
|
||||
|
||||
Reference in New Issue
Block a user