blob: 0c17bcc1138abfee42382fbc0bbe20430d4a5e55 [file] [log] [blame]
Sebastiano Barezzi418f32c2022-08-01 18:04:08 +02001<?xml version="1.0" encoding="utf-8"?>
Sebastiano Barezzi6ce6ab12022-08-08 14:22:11 +02002<!--
Sebastiano Barezzif8a86a02023-01-25 22:25:22 +01003 SPDX-FileCopyrightText: 2022-2023 The LineageOS Project
Sebastiano Barezzi6ce6ab12022-08-08 14:22:11 +02004 SPDX-License-Identifier: Apache-2.0
5-->
Sebastiano Barezzi418f32c2022-08-01 18:04:08 +02006<manifest xmlns:android="http://schemas.android.com/apk/res/android"
Sebastiano Barezzi344e2792022-10-30 19:06:28 +01007 xmlns:tools="http://schemas.android.com/tools"
Sebastiano Barezzi418f32c2022-08-01 18:04:08 +02008 package="org.lineageos.aperture">
9
10 <uses-feature android:name="android.hardware.camera.any" />
Sebastiano Barezzi50b0b712022-10-30 19:04:08 +010011 <uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />
Sebastiano Barezzi75bcf462022-08-02 02:15:42 +020012
LuK1337cdd9c162022-08-11 14:50:03 +020013 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
14 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
LuK1337b836b482023-01-31 00:10:53 +010015 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
Sebastiano Barezzi344e2792022-10-30 19:06:28 +010016 <uses-permission android:name="android.permission.CAMERA"
17 tools:ignore="PermissionImpliesUnsupportedChromeOsHardware" />
Sebastiano Barezzi418f32c2022-08-01 18:04:08 +020018 <uses-permission android:name="android.permission.RECORD_AUDIO" />
Sebastiano Barezzi8278f7c2022-10-30 16:40:32 +010019 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
20 android:maxSdkVersion="28" />
Sebastiano Barezzi418f32c2022-08-01 18:04:08 +020021
LuK1337b3100442022-11-05 20:37:16 +010022 <queries>
LuK1337eadaf722023-02-08 01:04:33 +010023 <package android:name="com.google.android.apps.googlecamera.fishfood" />
24 <package android:name="com.google.android.googlequicksearchbox" />
LuK1337b3100442022-11-05 20:37:16 +010025 <package android:name="org.lineageos.aperture.auto_generated_rro_product__" />
26 <package android:name="org.lineageos.aperture.auto_generated_rro_vendor__" />
27 </queries>
28
Sebastiano Barezzi418f32c2022-08-01 18:04:08 +020029 <application
Sebastiano Barezzif8a86a02023-01-25 22:25:22 +010030 android:name=".ApertureApplication"
Sebastiano Barezzi418f32c2022-08-01 18:04:08 +020031 android:icon="@mipmap/ic_launcher"
32 android:label="@string/app_name"
Sebastiano Barezzi418f32c2022-08-01 18:04:08 +020033 android:supportsRtl="true"
34 android:theme="@style/Theme.Aperture">
Sebastiano Barezzi80c1a1a2022-08-06 13:13:39 +020035
Sebastiano Barezzi4bc70192022-08-07 16:27:48 +020036 <uses-library
37 android:name="androidx.camera.extensions.impl"
38 android:required="false" />
39
Sebastiano Barezzi418f32c2022-08-01 18:04:08 +020040 <activity
Sebastiano Barezzi7d966da2022-09-07 03:26:14 +020041 android:name=".CameraActivity"
42 android:clearTaskOnLaunch="true"
43 android:configChanges="orientation|screenLayout|screenSize|smallestScreenSize|keyboardHidden"
Sebastiano Barezzi3c6eebc2022-08-06 17:29:13 +020044 android:exported="true"
LuK13375f277292022-08-08 00:37:49 +020045 android:launchMode="singleTask"
Luca Stefani7ad6d932022-08-12 17:45:09 +020046 android:screenOrientation="nosensor"
Sebastiano Barezzi7d966da2022-09-07 03:26:14 +020047 android:taskAffinity=".CameraActivity"
48 android:theme="@style/Theme.Aperture.Camera"
49 android:windowSoftInputMode="stateAlwaysHidden|adjustPan">
50 <intent-filter>
51 <action android:name="android.media.action.STILL_IMAGE_CAMERA" />
52 <category android:name="android.intent.category.DEFAULT" />
Alexander Martinzc02cafd2023-01-17 16:31:57 +010053 <category android:name="android.intent.category.VOICE" />
Sebastiano Barezzi7d966da2022-09-07 03:26:14 +020054 </intent-filter>
55 <intent-filter>
56 <action android:name="android.intent.action.MAIN" />
57 <category android:name="android.intent.category.DEFAULT" />
58 </intent-filter>
59 </activity>
Sebastiano Barezzi80c1a1a2022-08-06 13:13:39 +020060
Sebastiano Barezzi7d966da2022-09-07 03:26:14 +020061 <activity-alias
LuK13374ebad082022-12-18 12:08:01 +010062 android:name=".CameraLauncher"
Sebastiano Barezzi7d966da2022-09-07 03:26:14 +020063 android:exported="true"
64 android:label="@string/app_name"
65 android:targetActivity=".CameraActivity">
Sebastiano Barezzi418f32c2022-08-01 18:04:08 +020066 <intent-filter>
67 <action android:name="android.intent.action.MAIN" />
68
Sebastiano Barezzi7d966da2022-09-07 03:26:14 +020069 <category android:name="android.intent.category.DEFAULT" />
Sebastiano Barezzi418f32c2022-08-01 18:04:08 +020070 <category android:name="android.intent.category.LAUNCHER" />
71 </intent-filter>
Sebastiano Barezzi7d966da2022-09-07 03:26:14 +020072 </activity-alias>
Sebastiano Barezzi80c1a1a2022-08-06 13:13:39 +020073
Sebastiano Barezzi7d966da2022-09-07 03:26:14 +020074 <activity
75 android:name=".CaptureActivity"
76 android:configChanges="orientation|screenLayout|screenSize|smallestScreenSize|keyboardHidden"
77 android:exported="true"
78 android:screenOrientation="nosensor"
79 android:theme="@style/Theme.Aperture.Camera"
80 android:visibleToInstantApps="true"
81 android:windowSoftInputMode="stateAlwaysHidden|adjustPan">
Sebastiano Barezzi80c1a1a2022-08-06 13:13:39 +020082 <intent-filter>
83 <action android:name="android.media.action.IMAGE_CAPTURE" />
Sebastiano Barezzi7d966da2022-09-07 03:26:14 +020084 <category android:name="android.intent.category.DEFAULT" />
Alexander Martinzc02cafd2023-01-17 16:31:57 +010085 <category android:name="android.intent.category.VOICE" />
Sebastiano Barezzi7d966da2022-09-07 03:26:14 +020086 </intent-filter>
87 </activity>
88
LuK133733901162022-10-03 18:41:17 +020089 <activity
90 android:name=".QrScannerActivity"
91 android:configChanges="orientation|screenLayout|screenSize|smallestScreenSize|keyboardHidden"
92 android:exported="true"
93 android:screenOrientation="nosensor"
94 android:theme="@style/Theme.Aperture.Camera"
95 android:visibleToInstantApps="true"
96 android:windowSoftInputMode="stateAlwaysHidden|adjustPan" />
97
Sebastiano Barezzi7d966da2022-09-07 03:26:14 +020098 <!-- Video camera and capture use the Camcorder label and icon. -->
99 <activity-alias
100 android:name=".VideoCamera"
101 android:exported="true"
102 android:label="@string/video_camera_label"
103 android:targetActivity=".CaptureActivity">
104 <intent-filter>
Sebastiano Barezzi80c1a1a2022-08-06 13:13:39 +0200105 <action android:name="android.media.action.VIDEO_CAMERA" />
Sebastiano Barezzi7d966da2022-09-07 03:26:14 +0200106 <category android:name="android.intent.category.DEFAULT" />
Alexander Martinzc02cafd2023-01-17 16:31:57 +0100107 <category android:name="android.intent.category.VOICE" />
Sebastiano Barezzi7d966da2022-09-07 03:26:14 +0200108 </intent-filter>
109 <intent-filter>
Sebastiano Barezzi4b217432022-09-06 15:42:51 +0200110 <action android:name="android.media.action.VIDEO_CAPTURE" />
Sebastiano Barezzi7d966da2022-09-07 03:26:14 +0200111 <category android:name="android.intent.category.DEFAULT" />
Alexander Martinzc02cafd2023-01-17 16:31:57 +0100112 <category android:name="android.intent.category.VOICE" />
Sebastiano Barezzi7d966da2022-09-07 03:26:14 +0200113 </intent-filter>
114 </activity-alias>
115
116 <activity
117 android:name=".SecureCameraActivity"
118 android:clearTaskOnLaunch="true"
119 android:configChanges="orientation|screenLayout|screenSize|smallestScreenSize|keyboardHidden"
120 android:excludeFromRecents="true"
121 android:exported="true"
122 android:taskAffinity=".SecureCameraActivity"
123 android:theme="@style/Theme.Aperture.Camera"
124 android:windowSoftInputMode="stateAlwaysHidden|adjustPan">
125 <intent-filter>
126 <action android:name="android.media.action.STILL_IMAGE_CAMERA_SECURE" />
Sebastiano Barezzif2252e52022-08-07 16:36:50 +0200127
128 <category android:name="android.intent.category.DEFAULT" />
Sebastiano Barezzi80c1a1a2022-08-06 13:13:39 +0200129 </intent-filter>
Sebastiano Barezzi7d966da2022-09-07 03:26:14 +0200130 <intent-filter>
131 <action android:name="android.media.action.IMAGE_CAPTURE_SECURE" />
Sebastiano Barezzi80c1a1a2022-08-06 13:13:39 +0200132
Sebastiano Barezzi7d966da2022-09-07 03:26:14 +0200133 <category android:name="android.intent.category.DEFAULT" />
134 </intent-filter>
Sebastiano Barezzi418f32c2022-08-01 18:04:08 +0200135 </activity>
Sebastiano Barezzi80c1a1a2022-08-06 13:13:39 +0200136
Sebastiano Barezzi75bcf462022-08-02 02:15:42 +0200137 <activity
138 android:name=".SettingsActivity"
Sebastiano Barezzi7d966da2022-09-07 03:26:14 +0200139 android:configChanges="orientation|screenLayout|screenSize|smallestScreenSize|keyboardHidden"
Sebastiano Barezzi75bcf462022-08-02 02:15:42 +0200140 android:exported="false"
Luca Stefani7ad6d932022-08-12 17:45:09 +0200141 android:label="@string/title_activity_settings"
142 android:theme="@style/Theme.Aperture.Settings" />
Sebastiano Barezzi80c1a1a2022-08-06 13:13:39 +0200143
Sebastiano Barezzi418f32c2022-08-01 18:04:08 +0200144 </application>
145
LuK13373043adc2022-09-06 20:30:56 +0200146</manifest>