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 | <!-- |
| 3 | Copyright (C) 2022 The LineageOS Project |
| 4 | |
| 5 | SPDX-License-Identifier: Apache-2.0 |
| 6 | --> |
Sebastiano Barezzi | 418f32c | 2022-08-01 18:04:08 +0200 | [diff] [blame] | 7 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 8 | package="org.lineageos.aperture"> |
| 9 | |
| 10 | <uses-feature android:name="android.hardware.camera.any" /> |
Sebastiano Barezzi | 75bcf46 | 2022-08-02 02:15:42 +0200 | [diff] [blame] | 11 | |
LuK1337 | cdd9c16 | 2022-08-11 14:50:03 +0200 | [diff] [blame] | 12 | <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> |
| 13 | <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> |
Sebastiano Barezzi | 418f32c | 2022-08-01 18:04:08 +0200 | [diff] [blame] | 14 | <uses-permission android:name="android.permission.CAMERA" /> |
| 15 | <uses-permission android:name="android.permission.RECORD_AUDIO" /> |
| 16 | |
| 17 | <application |
Sebastiano Barezzi | 418f32c | 2022-08-01 18:04:08 +0200 | [diff] [blame] | 18 | android:icon="@mipmap/ic_launcher" |
| 19 | android:label="@string/app_name" |
Sebastiano Barezzi | 418f32c | 2022-08-01 18:04:08 +0200 | [diff] [blame] | 20 | android:supportsRtl="true" |
| 21 | android:theme="@style/Theme.Aperture"> |
Sebastiano Barezzi | 80c1a1a | 2022-08-06 13:13:39 +0200 | [diff] [blame] | 22 | |
Sebastiano Barezzi | 4bc7019 | 2022-08-07 16:27:48 +0200 | [diff] [blame] | 23 | <uses-library |
| 24 | android:name="androidx.camera.extensions.impl" |
| 25 | android:required="false" /> |
| 26 | |
Sebastiano Barezzi | 418f32c | 2022-08-01 18:04:08 +0200 | [diff] [blame] | 27 | <activity |
Sebastiano Barezzi | 7d966da | 2022-09-07 03:26:14 +0200 | [diff] [blame] | 28 | android:name=".CameraActivity" |
| 29 | android:clearTaskOnLaunch="true" |
| 30 | android:configChanges="orientation|screenLayout|screenSize|smallestScreenSize|keyboardHidden" |
Sebastiano Barezzi | 3c6eebc | 2022-08-06 17:29:13 +0200 | [diff] [blame] | 31 | android:exported="true" |
LuK1337 | 5f27729 | 2022-08-08 00:37:49 +0200 | [diff] [blame] | 32 | android:launchMode="singleTask" |
Luca Stefani | 7ad6d93 | 2022-08-12 17:45:09 +0200 | [diff] [blame] | 33 | android:screenOrientation="nosensor" |
Sebastiano Barezzi | 7d966da | 2022-09-07 03:26:14 +0200 | [diff] [blame] | 34 | android:taskAffinity=".CameraActivity" |
| 35 | android:theme="@style/Theme.Aperture.Camera" |
| 36 | android:windowSoftInputMode="stateAlwaysHidden|adjustPan"> |
| 37 | <intent-filter> |
| 38 | <action android:name="android.media.action.STILL_IMAGE_CAMERA" /> |
| 39 | <category android:name="android.intent.category.DEFAULT" /> |
| 40 | </intent-filter> |
| 41 | <intent-filter> |
| 42 | <action android:name="android.intent.action.MAIN" /> |
| 43 | <category android:name="android.intent.category.DEFAULT" /> |
| 44 | </intent-filter> |
| 45 | </activity> |
Sebastiano Barezzi | 80c1a1a | 2022-08-06 13:13:39 +0200 | [diff] [blame] | 46 | |
Sebastiano Barezzi | 7d966da | 2022-09-07 03:26:14 +0200 | [diff] [blame] | 47 | <activity-alias |
| 48 | android:name=".CameraLauncher" |
| 49 | android:exported="true" |
| 50 | android:label="@string/app_name" |
| 51 | android:targetActivity=".CameraActivity"> |
Sebastiano Barezzi | 418f32c | 2022-08-01 18:04:08 +0200 | [diff] [blame] | 52 | <intent-filter> |
| 53 | <action android:name="android.intent.action.MAIN" /> |
| 54 | |
Sebastiano Barezzi | 7d966da | 2022-09-07 03:26:14 +0200 | [diff] [blame] | 55 | <category android:name="android.intent.category.DEFAULT" /> |
Sebastiano Barezzi | 418f32c | 2022-08-01 18:04:08 +0200 | [diff] [blame] | 56 | <category android:name="android.intent.category.LAUNCHER" /> |
| 57 | </intent-filter> |
Sebastiano Barezzi | 7d966da | 2022-09-07 03:26:14 +0200 | [diff] [blame] | 58 | </activity-alias> |
Sebastiano Barezzi | 80c1a1a | 2022-08-06 13:13:39 +0200 | [diff] [blame] | 59 | |
Sebastiano Barezzi | 7d966da | 2022-09-07 03:26:14 +0200 | [diff] [blame] | 60 | <activity |
| 61 | android:name=".CaptureActivity" |
| 62 | android:configChanges="orientation|screenLayout|screenSize|smallestScreenSize|keyboardHidden" |
| 63 | android:exported="true" |
| 64 | android:screenOrientation="nosensor" |
| 65 | android:theme="@style/Theme.Aperture.Camera" |
| 66 | android:visibleToInstantApps="true" |
| 67 | android:windowSoftInputMode="stateAlwaysHidden|adjustPan"> |
Sebastiano Barezzi | 80c1a1a | 2022-08-06 13:13:39 +0200 | [diff] [blame] | 68 | <intent-filter> |
| 69 | <action android:name="android.media.action.IMAGE_CAPTURE" /> |
Sebastiano Barezzi | 7d966da | 2022-09-07 03:26:14 +0200 | [diff] [blame] | 70 | <category android:name="android.intent.category.DEFAULT" /> |
| 71 | </intent-filter> |
| 72 | </activity> |
| 73 | |
LuK1337 | 3390116 | 2022-10-03 18:41:17 +0200 | [diff] [blame^] | 74 | <activity |
| 75 | android:name=".QrScannerActivity" |
| 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" /> |
| 82 | |
Sebastiano Barezzi | 7d966da | 2022-09-07 03:26:14 +0200 | [diff] [blame] | 83 | <!-- Video camera and capture use the Camcorder label and icon. --> |
| 84 | <activity-alias |
| 85 | android:name=".VideoCamera" |
| 86 | android:exported="true" |
| 87 | android:label="@string/video_camera_label" |
| 88 | android:targetActivity=".CaptureActivity"> |
| 89 | <intent-filter> |
Sebastiano Barezzi | 80c1a1a | 2022-08-06 13:13:39 +0200 | [diff] [blame] | 90 | <action android:name="android.media.action.VIDEO_CAMERA" /> |
Sebastiano Barezzi | 7d966da | 2022-09-07 03:26:14 +0200 | [diff] [blame] | 91 | <category android:name="android.intent.category.DEFAULT" /> |
| 92 | </intent-filter> |
| 93 | <intent-filter> |
Sebastiano Barezzi | 4b21743 | 2022-09-06 15:42:51 +0200 | [diff] [blame] | 94 | <action android:name="android.media.action.VIDEO_CAPTURE" /> |
Sebastiano Barezzi | 7d966da | 2022-09-07 03:26:14 +0200 | [diff] [blame] | 95 | <category android:name="android.intent.category.DEFAULT" /> |
| 96 | </intent-filter> |
| 97 | </activity-alias> |
| 98 | |
| 99 | <activity |
| 100 | android:name=".SecureCameraActivity" |
| 101 | android:clearTaskOnLaunch="true" |
| 102 | android:configChanges="orientation|screenLayout|screenSize|smallestScreenSize|keyboardHidden" |
| 103 | android:excludeFromRecents="true" |
| 104 | android:exported="true" |
| 105 | android:taskAffinity=".SecureCameraActivity" |
| 106 | android:theme="@style/Theme.Aperture.Camera" |
| 107 | android:windowSoftInputMode="stateAlwaysHidden|adjustPan"> |
| 108 | <intent-filter> |
| 109 | <action android:name="android.media.action.STILL_IMAGE_CAMERA_SECURE" /> |
Sebastiano Barezzi | f2252e5 | 2022-08-07 16:36:50 +0200 | [diff] [blame] | 110 | |
| 111 | <category android:name="android.intent.category.DEFAULT" /> |
Sebastiano Barezzi | 80c1a1a | 2022-08-06 13:13:39 +0200 | [diff] [blame] | 112 | </intent-filter> |
Sebastiano Barezzi | 7d966da | 2022-09-07 03:26:14 +0200 | [diff] [blame] | 113 | <intent-filter> |
| 114 | <action android:name="android.media.action.IMAGE_CAPTURE_SECURE" /> |
Sebastiano Barezzi | 80c1a1a | 2022-08-06 13:13:39 +0200 | [diff] [blame] | 115 | |
Sebastiano Barezzi | 7d966da | 2022-09-07 03:26:14 +0200 | [diff] [blame] | 116 | <category android:name="android.intent.category.DEFAULT" /> |
| 117 | </intent-filter> |
Sebastiano Barezzi | 418f32c | 2022-08-01 18:04:08 +0200 | [diff] [blame] | 118 | </activity> |
Sebastiano Barezzi | 80c1a1a | 2022-08-06 13:13:39 +0200 | [diff] [blame] | 119 | |
Sebastiano Barezzi | 75bcf46 | 2022-08-02 02:15:42 +0200 | [diff] [blame] | 120 | <activity |
| 121 | android:name=".SettingsActivity" |
Sebastiano Barezzi | 7d966da | 2022-09-07 03:26:14 +0200 | [diff] [blame] | 122 | android:configChanges="orientation|screenLayout|screenSize|smallestScreenSize|keyboardHidden" |
Sebastiano Barezzi | 75bcf46 | 2022-08-02 02:15:42 +0200 | [diff] [blame] | 123 | android:exported="false" |
Luca Stefani | 7ad6d93 | 2022-08-12 17:45:09 +0200 | [diff] [blame] | 124 | android:label="@string/title_activity_settings" |
| 125 | android:theme="@style/Theme.Aperture.Settings" /> |
Sebastiano Barezzi | 80c1a1a | 2022-08-06 13:13:39 +0200 | [diff] [blame] | 126 | |
Sebastiano Barezzi | 418f32c | 2022-08-01 18:04:08 +0200 | [diff] [blame] | 127 | </application> |
| 128 | |
LuK1337 | 3043adc | 2022-09-06 20:30:56 +0200 | [diff] [blame] | 129 | </manifest> |