Sebastiano Barezzi | 418f32c | 2022-08-01 18:04:08 +0200 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
Sebastiano Barezzi | 6ce6ab1 | 2022-08-08 14:22:11 +0200 | [diff] [blame] | 2 | <!-- |
Sebastiano Barezzi | f8a86a0 | 2023-01-25 22:25:22 +0100 | [diff] [blame] | 3 | SPDX-FileCopyrightText: 2022-2023 The LineageOS Project |
Sebastiano Barezzi | 6ce6ab1 | 2022-08-08 14:22:11 +0200 | [diff] [blame] | 4 | SPDX-License-Identifier: Apache-2.0 |
| 5 | --> |
Sebastiano Barezzi | 418f32c | 2022-08-01 18:04:08 +0200 | [diff] [blame] | 6 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
Sebastiano Barezzi | 344e279 | 2022-10-30 19:06:28 +0100 | [diff] [blame] | 7 | xmlns:tools="http://schemas.android.com/tools" |
Sebastiano Barezzi | 418f32c | 2022-08-01 18:04:08 +0200 | [diff] [blame] | 8 | package="org.lineageos.aperture"> |
| 9 | |
| 10 | <uses-feature android:name="android.hardware.camera.any" /> |
Sebastiano Barezzi | 50b0b71 | 2022-10-30 19:04:08 +0100 | [diff] [blame] | 11 | <uses-feature android:name="android.hardware.camera.autofocus" android:required="false" /> |
Sebastiano Barezzi | 75bcf46 | 2022-08-02 02:15:42 +0200 | [diff] [blame] | 12 | |
LuK1337 | cdd9c16 | 2022-08-11 14:50:03 +0200 | [diff] [blame] | 13 | <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> |
| 14 | <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> |
LuK1337 | b836b48 | 2023-01-31 00:10:53 +0100 | [diff] [blame] | 15 | <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> |
Sebastiano Barezzi | 344e279 | 2022-10-30 19:06:28 +0100 | [diff] [blame] | 16 | <uses-permission android:name="android.permission.CAMERA" |
| 17 | tools:ignore="PermissionImpliesUnsupportedChromeOsHardware" /> |
Sebastiano Barezzi | 418f32c | 2022-08-01 18:04:08 +0200 | [diff] [blame] | 18 | <uses-permission android:name="android.permission.RECORD_AUDIO" /> |
Sebastiano Barezzi | 8278f7c | 2022-10-30 16:40:32 +0100 | [diff] [blame] | 19 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" |
| 20 | android:maxSdkVersion="28" /> |
Sebastiano Barezzi | 418f32c | 2022-08-01 18:04:08 +0200 | [diff] [blame] | 21 | |
LuK1337 | b310044 | 2022-11-05 20:37:16 +0100 | [diff] [blame] | 22 | <queries> |
LuK1337 | eadaf72 | 2023-02-08 01:04:33 +0100 | [diff] [blame] | 23 | <package android:name="com.google.android.apps.googlecamera.fishfood" /> |
| 24 | <package android:name="com.google.android.googlequicksearchbox" /> |
LuK1337 | b310044 | 2022-11-05 20:37:16 +0100 | [diff] [blame] | 25 | <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 Barezzi | 418f32c | 2022-08-01 18:04:08 +0200 | [diff] [blame] | 29 | <application |
Sebastiano Barezzi | f8a86a0 | 2023-01-25 22:25:22 +0100 | [diff] [blame] | 30 | android:name=".ApertureApplication" |
Sebastiano Barezzi | 418f32c | 2022-08-01 18:04:08 +0200 | [diff] [blame] | 31 | android:icon="@mipmap/ic_launcher" |
| 32 | android:label="@string/app_name" |
Sebastiano Barezzi | 418f32c | 2022-08-01 18:04:08 +0200 | [diff] [blame] | 33 | android:supportsRtl="true" |
| 34 | android:theme="@style/Theme.Aperture"> |
Sebastiano Barezzi | 80c1a1a | 2022-08-06 13:13:39 +0200 | [diff] [blame] | 35 | |
Sebastiano Barezzi | 4bc7019 | 2022-08-07 16:27:48 +0200 | [diff] [blame] | 36 | <uses-library |
| 37 | android:name="androidx.camera.extensions.impl" |
| 38 | android:required="false" /> |
| 39 | |
Sebastiano Barezzi | 418f32c | 2022-08-01 18:04:08 +0200 | [diff] [blame] | 40 | <activity |
Sebastiano Barezzi | 7d966da | 2022-09-07 03:26:14 +0200 | [diff] [blame] | 41 | android:name=".CameraActivity" |
| 42 | android:clearTaskOnLaunch="true" |
| 43 | android:configChanges="orientation|screenLayout|screenSize|smallestScreenSize|keyboardHidden" |
Sebastiano Barezzi | 3c6eebc | 2022-08-06 17:29:13 +0200 | [diff] [blame] | 44 | android:exported="true" |
LuK1337 | 5f27729 | 2022-08-08 00:37:49 +0200 | [diff] [blame] | 45 | android:launchMode="singleTask" |
Luca Stefani | 7ad6d93 | 2022-08-12 17:45:09 +0200 | [diff] [blame] | 46 | android:screenOrientation="nosensor" |
Sebastiano Barezzi | 7d966da | 2022-09-07 03:26:14 +0200 | [diff] [blame] | 47 | 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 Martinz | c02cafd | 2023-01-17 16:31:57 +0100 | [diff] [blame] | 53 | <category android:name="android.intent.category.VOICE" /> |
Sebastiano Barezzi | 7d966da | 2022-09-07 03:26:14 +0200 | [diff] [blame] | 54 | </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 Barezzi | 80c1a1a | 2022-08-06 13:13:39 +0200 | [diff] [blame] | 60 | |
Sebastiano Barezzi | 7d966da | 2022-09-07 03:26:14 +0200 | [diff] [blame] | 61 | <activity-alias |
LuK1337 | 4ebad08 | 2022-12-18 12:08:01 +0100 | [diff] [blame] | 62 | android:name=".CameraLauncher" |
Sebastiano Barezzi | 7d966da | 2022-09-07 03:26:14 +0200 | [diff] [blame] | 63 | android:exported="true" |
| 64 | android:label="@string/app_name" |
| 65 | android:targetActivity=".CameraActivity"> |
Sebastiano Barezzi | 418f32c | 2022-08-01 18:04:08 +0200 | [diff] [blame] | 66 | <intent-filter> |
| 67 | <action android:name="android.intent.action.MAIN" /> |
| 68 | |
Sebastiano Barezzi | 7d966da | 2022-09-07 03:26:14 +0200 | [diff] [blame] | 69 | <category android:name="android.intent.category.DEFAULT" /> |
Sebastiano Barezzi | 418f32c | 2022-08-01 18:04:08 +0200 | [diff] [blame] | 70 | <category android:name="android.intent.category.LAUNCHER" /> |
| 71 | </intent-filter> |
Sebastiano Barezzi | 7d966da | 2022-09-07 03:26:14 +0200 | [diff] [blame] | 72 | </activity-alias> |
Sebastiano Barezzi | 80c1a1a | 2022-08-06 13:13:39 +0200 | [diff] [blame] | 73 | |
Sebastiano Barezzi | 7d966da | 2022-09-07 03:26:14 +0200 | [diff] [blame] | 74 | <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 Barezzi | 80c1a1a | 2022-08-06 13:13:39 +0200 | [diff] [blame] | 82 | <intent-filter> |
| 83 | <action android:name="android.media.action.IMAGE_CAPTURE" /> |
Sebastiano Barezzi | 7d966da | 2022-09-07 03:26:14 +0200 | [diff] [blame] | 84 | <category android:name="android.intent.category.DEFAULT" /> |
Alexander Martinz | c02cafd | 2023-01-17 16:31:57 +0100 | [diff] [blame] | 85 | <category android:name="android.intent.category.VOICE" /> |
Sebastiano Barezzi | 7d966da | 2022-09-07 03:26:14 +0200 | [diff] [blame] | 86 | </intent-filter> |
| 87 | </activity> |
| 88 | |
LuK1337 | 3390116 | 2022-10-03 18:41:17 +0200 | [diff] [blame] | 89 | <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 Barezzi | 7d966da | 2022-09-07 03:26:14 +0200 | [diff] [blame] | 98 | <!-- 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 Barezzi | 80c1a1a | 2022-08-06 13:13:39 +0200 | [diff] [blame] | 105 | <action android:name="android.media.action.VIDEO_CAMERA" /> |
Sebastiano Barezzi | 7d966da | 2022-09-07 03:26:14 +0200 | [diff] [blame] | 106 | <category android:name="android.intent.category.DEFAULT" /> |
Alexander Martinz | c02cafd | 2023-01-17 16:31:57 +0100 | [diff] [blame] | 107 | <category android:name="android.intent.category.VOICE" /> |
Sebastiano Barezzi | 7d966da | 2022-09-07 03:26:14 +0200 | [diff] [blame] | 108 | </intent-filter> |
| 109 | <intent-filter> |
Sebastiano Barezzi | 4b21743 | 2022-09-06 15:42:51 +0200 | [diff] [blame] | 110 | <action android:name="android.media.action.VIDEO_CAPTURE" /> |
Sebastiano Barezzi | 7d966da | 2022-09-07 03:26:14 +0200 | [diff] [blame] | 111 | <category android:name="android.intent.category.DEFAULT" /> |
Alexander Martinz | c02cafd | 2023-01-17 16:31:57 +0100 | [diff] [blame] | 112 | <category android:name="android.intent.category.VOICE" /> |
Sebastiano Barezzi | 7d966da | 2022-09-07 03:26:14 +0200 | [diff] [blame] | 113 | </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 Barezzi | f2252e5 | 2022-08-07 16:36:50 +0200 | [diff] [blame] | 127 | |
| 128 | <category android:name="android.intent.category.DEFAULT" /> |
Sebastiano Barezzi | 80c1a1a | 2022-08-06 13:13:39 +0200 | [diff] [blame] | 129 | </intent-filter> |
Sebastiano Barezzi | 7d966da | 2022-09-07 03:26:14 +0200 | [diff] [blame] | 130 | <intent-filter> |
| 131 | <action android:name="android.media.action.IMAGE_CAPTURE_SECURE" /> |
Sebastiano Barezzi | 80c1a1a | 2022-08-06 13:13:39 +0200 | [diff] [blame] | 132 | |
Sebastiano Barezzi | 7d966da | 2022-09-07 03:26:14 +0200 | [diff] [blame] | 133 | <category android:name="android.intent.category.DEFAULT" /> |
| 134 | </intent-filter> |
Sebastiano Barezzi | 418f32c | 2022-08-01 18:04:08 +0200 | [diff] [blame] | 135 | </activity> |
Sebastiano Barezzi | 80c1a1a | 2022-08-06 13:13:39 +0200 | [diff] [blame] | 136 | |
Sebastiano Barezzi | 75bcf46 | 2022-08-02 02:15:42 +0200 | [diff] [blame] | 137 | <activity |
| 138 | android:name=".SettingsActivity" |
Sebastiano Barezzi | 7d966da | 2022-09-07 03:26:14 +0200 | [diff] [blame] | 139 | android:configChanges="orientation|screenLayout|screenSize|smallestScreenSize|keyboardHidden" |
Sebastiano Barezzi | 75bcf46 | 2022-08-02 02:15:42 +0200 | [diff] [blame] | 140 | android:exported="false" |
Luca Stefani | 7ad6d93 | 2022-08-12 17:45:09 +0200 | [diff] [blame] | 141 | android:label="@string/title_activity_settings" |
| 142 | android:theme="@style/Theme.Aperture.Settings" /> |
Sebastiano Barezzi | 80c1a1a | 2022-08-06 13:13:39 +0200 | [diff] [blame] | 143 | |
Sebastiano Barezzi | 418f32c | 2022-08-01 18:04:08 +0200 | [diff] [blame] | 144 | </application> |
| 145 | |
LuK1337 | 3043adc | 2022-09-06 20:30:56 +0200 | [diff] [blame] | 146 | </manifest> |