• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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" package="com.google.jetpackcamera">
19
20    <uses-feature
21        android:name="android.hardware.camera"
22        android:required="true" />
23    <uses-feature
24        android:name="android.hardware.camera.autofocus"
25        android:required="false" />
26    <uses-feature
27        android:name="android.hardware.microphone"
28        android:required="false" />
29
30    <uses-permission android:name="android.permission.CAMERA" />
31    <uses-permission android:name="android.permission.RECORD_AUDIO" />
32    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
33        android:maxSdkVersion="28"
34        tools:ignore="ScopedStorage" />
35    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"
36        android:maxSdkVersion="28"
37        tools:ignore="ScopedStorage" />
38    <uses-permission android:name="android.permission.READ_MEDIA_VIDEO"
39        android:minSdkVersion="33"
40        tools:ignore="SelectedPhotoAccess" />
41    <uses-permission android:name="android.permission.READ_MEDIA_IMAGES"
42        android:minSdkVersion="33"
43        tools:ignore="SelectedPhotoAccess" />
44
45
46    <application
47        android:name="JetpackCameraApplication"
48        android:allowBackup="true"
49        android:dataExtractionRules="@xml/data_extraction_rules"
50        android:fullBackupContent="@xml/backup_rules"
51        android:icon="@mipmap/ic_launcher"
52        android:label="@string/app_name"
53        android:roundIcon="@mipmap/ic_launcher_round"
54        android:supportsRtl="true"
55        android:theme="@style/Theme.JetpackCamera"
56        android:requestLegacyExternalStorage="true"
57        tools:targetApi="33">
58        <profileable android:shell="true"/>
59        <activity
60            android:name=".MainActivity"
61            android:exported="true"
62            android:screenOrientation="nosensor"
63            android:theme="@style/Theme.JetpackCamera">
64            <intent-filter>
65                <action android:name="android.intent.action.MAIN" />
66                <action android:name="android.media.action.IMAGE_CAPTURE" />
67
68                <category android:name="android.intent.category.LAUNCHER" />
69            </intent-filter>
70        </activity>
71    </application>
72</manifest>