1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2022 The Android Open Source Project 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); 6 ~ you may not use this file except in compliance with the License. 7 ~ You may obtain a copy of the License at 8 ~ 9 ~ http://www.apache.org/licenses/LICENSE-2.0 10 ~ 11 ~ Unless required by applicable law or agreed to in writing, software 12 ~ distributed under the License is distributed on an "AS IS" BASIS, 13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ~ See the License for the specific language governing permissions and 15 ~ limitations under the License. 16 --> 17 18<manifest xmlns:android="http://schemas.android.com/apk/res/android" 19 package="android.server.wm.jetpack.second"> 20 21 <application android:debuggable="true"> 22 <property 23 android:name="android.window.PROPERTY_ACTIVITY_EMBEDDING_SPLITS_ENABLED" 24 android:value="true"/> 25 <activity 26 android:name=".SecondActivity" 27 android:exported="true" /> 28 <activity 29 android:name=".PortraitActivity" 30 android:screenOrientation="portrait" 31 android:exported="true" /> 32 <activity 33 android:name=".SecondActivityAllowsUntrustedEmbedding" 34 android:allowUntrustedActivityEmbedding="true" 35 android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|colorMode|density|touchscreen" 36 android:supportsPictureInPicture="true" 37 android:exported="true"> 38 </activity> 39 <activity 40 android:name=".SecondActivityAllowsUntrustedEmbeddingStateShare" 41 android:allowUntrustedActivityEmbedding="true" 42 android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|colorMode|density|touchscreen" 43 android:supportsPictureInPicture="true" 44 android:exported="true"> 45 <!-- This property allows the system to share embedded activity state with the host 46 which enables restoring the split after the embedded activity exiting pip. --> 47 <property 48 android:name="android.window.PROPERTY_ALLOW_UNTRUSTED_ACTIVITY_EMBEDDING_STATE_SHARING" 49 android:value="true" /> 50 </activity> 51 <activity 52 android:name=".SecondActivityUnknownEmbeddingCerts" 53 android:knownActivityEmbeddingCerts="invalid_certificate" 54 android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|colorMode|density|touchscreen" 55 android:exported="true" /> 56 </application> 57</manifest> 58