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 | |
| 74 | <!-- Video camera and capture use the Camcorder label and icon. --> |
| 75 | <activity-alias |
| 76 | android:name=".VideoCamera" |
| 77 | android:exported="true" |
| 78 | android:label="@string/video_camera_label" |
| 79 | android:targetActivity=".CaptureActivity"> |
| 80 | <intent-filter> |
Sebastiano Barezzi | 80c1a1a | 2022-08-06 13:13:39 +0200 | [diff] [blame] | 81 | <action android:name="android.media.action.VIDEO_CAMERA" /> |
Sebastiano Barezzi | 7d966da | 2022-09-07 03:26:14 +0200 | [diff] [blame^] | 82 | <category android:name="android.intent.category.DEFAULT" /> |
| 83 | </intent-filter> |
| 84 | <intent-filter> |
Sebastiano Barezzi | 4b21743 | 2022-09-06 15:42:51 +0200 | [diff] [blame] | 85 | <action android:name="android.media.action.VIDEO_CAPTURE" /> |
Sebastiano Barezzi | 7d966da | 2022-09-07 03:26:14 +0200 | [diff] [blame^] | 86 | <category android:name="android.intent.category.DEFAULT" /> |
| 87 | </intent-filter> |
| 88 | </activity-alias> |
| 89 | |
| 90 | <activity |
| 91 | android:name=".SecureCameraActivity" |
| 92 | android:clearTaskOnLaunch="true" |
| 93 | android:configChanges="orientation|screenLayout|screenSize|smallestScreenSize|keyboardHidden" |
| 94 | android:excludeFromRecents="true" |
| 95 | android:exported="true" |
| 96 | android:taskAffinity=".SecureCameraActivity" |
| 97 | android:theme="@style/Theme.Aperture.Camera" |
| 98 | android:windowSoftInputMode="stateAlwaysHidden|adjustPan"> |
| 99 | <intent-filter> |
| 100 | <action android:name="android.media.action.STILL_IMAGE_CAMERA_SECURE" /> |
Sebastiano Barezzi | f2252e5 | 2022-08-07 16:36:50 +0200 | [diff] [blame] | 101 | |
| 102 | <category android:name="android.intent.category.DEFAULT" /> |
Sebastiano Barezzi | 80c1a1a | 2022-08-06 13:13:39 +0200 | [diff] [blame] | 103 | </intent-filter> |
Sebastiano Barezzi | 7d966da | 2022-09-07 03:26:14 +0200 | [diff] [blame^] | 104 | <intent-filter> |
| 105 | <action android:name="android.media.action.IMAGE_CAPTURE_SECURE" /> |
Sebastiano Barezzi | 80c1a1a | 2022-08-06 13:13:39 +0200 | [diff] [blame] | 106 | |
Sebastiano Barezzi | 7d966da | 2022-09-07 03:26:14 +0200 | [diff] [blame^] | 107 | <category android:name="android.intent.category.DEFAULT" /> |
| 108 | </intent-filter> |
Sebastiano Barezzi | 418f32c | 2022-08-01 18:04:08 +0200 | [diff] [blame] | 109 | </activity> |
Sebastiano Barezzi | 80c1a1a | 2022-08-06 13:13:39 +0200 | [diff] [blame] | 110 | |
Sebastiano Barezzi | 75bcf46 | 2022-08-02 02:15:42 +0200 | [diff] [blame] | 111 | <activity |
| 112 | android:name=".SettingsActivity" |
Sebastiano Barezzi | 7d966da | 2022-09-07 03:26:14 +0200 | [diff] [blame^] | 113 | android:configChanges="orientation|screenLayout|screenSize|smallestScreenSize|keyboardHidden" |
Sebastiano Barezzi | 75bcf46 | 2022-08-02 02:15:42 +0200 | [diff] [blame] | 114 | android:exported="false" |
Luca Stefani | 7ad6d93 | 2022-08-12 17:45:09 +0200 | [diff] [blame] | 115 | android:label="@string/title_activity_settings" |
| 116 | android:theme="@style/Theme.Aperture.Settings" /> |
Sebastiano Barezzi | 80c1a1a | 2022-08-06 13:13:39 +0200 | [diff] [blame] | 117 | |
Sebastiano Barezzi | 418f32c | 2022-08-01 18:04:08 +0200 | [diff] [blame] | 118 | </application> |
| 119 | |
LuK1337 | 3043adc | 2022-09-06 20:30:56 +0200 | [diff] [blame] | 120 | </manifest> |