1<?xml version="1.0" encoding="utf-8"?><!--
2  Copyright 2020 The Android Open Source Project
3
4  Licensed under the Apache License, Version 2.0 (the "License");
5  you may not use this file except in compliance with the License.
6  You may obtain a copy of the License at
7
8       http://www.apache.org/licenses/LICENSE-2.0
9
10  Unless required by applicable law or agreed to in writing, software
11  distributed under the License is distributed on an "AS IS" BASIS,
12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  See the License for the specific language governing permissions and
14  limitations under the License.
15  -->
16
17<manifest xmlns:android="http://schemas.android.com/apk/res/android">
18
19    <application
20        android:label="@string/app_name"
21        android:theme="@style/AppTheme">
22
23        <activity android:name=".MainActivity" android:exported="true">
24            <intent-filter>
25                <action android:name="android.intent.action.MAIN" />
26
27                <category android:name="android.intent.category.LAUNCHER" />
28            </intent-filter>
29        </activity>
30
31        <activity
32            android:exported="false"
33            android:name=".viewpager.ViewPager2Activity"
34            android:label="ViewPager2 CameraX Test" />
35
36        <activity
37            android:exported="false"
38            android:name=".viewpager.ViewPagerActivity"
39            android:label="ViewPager CameraX Test" />
40
41        <activity
42            android:exported="false"
43            android:name=".rotations.UnlockedOrientationActivity"
44            android:label="Rotation - Unlocked orientation" />
45
46        <activity
47            android:exported="false"
48            android:name=".rotations.LockedOrientationActivity"
49            android:label="Rotation - Locked orientation"
50            android:screenOrientation="portrait" />
51
52        <activity
53            android:exported="false"
54            android:name=".rotations.OrientationConfigChangesOverriddenActivity"
55            android:configChanges="orientation|screenSize|screenLayout"
56            android:label="Rotation - ConfigChanges overridden" />
57
58        <activity
59            android:exported="false"
60            android:name=".foldable.FoldableCameraActivity"
61            android:label="Foldable Test" />
62
63        <activity
64            android:exported="false"
65            android:name=".compose.ComposeCameraActivity"
66            android:label="Compose"
67            android:screenOrientation="portrait"/>
68    </application>
69
70    <uses-feature android:name="android.hardware.camera.any" />
71    <uses-permission android:name="android.permission.CAMERA" />
72    <uses-permission android:name="android.permission.RECORD_AUDIO" />
73    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
74
75</manifest>