xref: /aosp_15_r20/external/jetpack-camera-app/app/src/main/AndroidManifest.xml (revision 7e7863dab8204bb545ead586e736dea632e06846)
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2023 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<manifest xmlns:android="http://schemas.android.com/apk/res/android"
18  xmlns:tools="http://schemas.android.com/tools"
19  package="com.google.jetpackcamera">
20
21    <uses-feature
22        android:name="android.hardware.camera"
23        android:required="true" />
24    <uses-feature
25        android:name="android.hardware.camera.autofocus"
26        android:required="false" />
27    <uses-feature
28        android:name="android.hardware.microphone"
29        android:required="false" />
30
31    <uses-permission android:name="android.permission.CAMERA" />
32    <uses-permission android:name="android.permission.RECORD_AUDIO" />
33    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
34        android:maxSdkVersion="28"
35        tools:ignore="ScopedStorage" />
36
37
38    <application
39        android:name="JetpackCameraApplication"
40        android:allowBackup="true"
41        android:dataExtractionRules="@xml/data_extraction_rules"
42        android:fullBackupContent="@xml/backup_rules"
43        android:icon="@mipmap/ic_launcher"
44        android:label="@string/app_name"
45        android:roundIcon="@mipmap/ic_launcher_round"
46        android:supportsRtl="true"
47        android:theme="@style/Theme.JetpackCamera"
48        tools:targetApi="33">
49
50        <profileable android:shell="true"/>
51        <activity
52            android:name=".MainActivity"
53            android:exported="true"
54            android:screenOrientation="nosensor"
55            android:theme="@style/Theme.JetpackCamera">
56            <intent-filter>
57                <action android:name="android.intent.action.MAIN" />
58                <action android:name="android.media.action.IMAGE_CAPTURE" />
59
60                <category android:name="android.intent.category.LAUNCHER" />
61            </intent-filter>
62        </activity>
63    </application>
64
65</manifest>
66