blob: 8e2ed73a0e76b05ec679036400af658251a794f8 [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<!--
3 Copyright (C) 2022 The LineageOS Project
4
5 SPDX-License-Identifier: Apache-2.0
6-->
Sebastiano Barezzi418f32c2022-08-01 18:04:08 +02007<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 Barezzi75bcf462022-08-02 02:15:42 +020011
LuK1337cdd9c162022-08-11 14:50:03 +020012 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
13 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
Sebastiano Barezzi418f32c2022-08-01 18:04:08 +020014 <uses-permission android:name="android.permission.CAMERA" />
15 <uses-permission android:name="android.permission.RECORD_AUDIO" />
16
17 <application
Sebastiano Barezzi418f32c2022-08-01 18:04:08 +020018 android:icon="@mipmap/ic_launcher"
19 android:label="@string/app_name"
Sebastiano Barezzi418f32c2022-08-01 18:04:08 +020020 android:supportsRtl="true"
21 android:theme="@style/Theme.Aperture">
Sebastiano Barezzi80c1a1a2022-08-06 13:13:39 +020022
Sebastiano Barezzi4bc70192022-08-07 16:27:48 +020023 <uses-library
24 android:name="androidx.camera.extensions.impl"
25 android:required="false" />
26
Sebastiano Barezzi418f32c2022-08-01 18:04:08 +020027 <activity
Sebastiano Barezzi7d966da2022-09-07 03:26:14 +020028 android:name=".CameraActivity"
29 android:clearTaskOnLaunch="true"
30 android:configChanges="orientation|screenLayout|screenSize|smallestScreenSize|keyboardHidden"
Sebastiano Barezzi3c6eebc2022-08-06 17:29:13 +020031 android:exported="true"
LuK13375f277292022-08-08 00:37:49 +020032 android:launchMode="singleTask"
Luca Stefani7ad6d932022-08-12 17:45:09 +020033 android:screenOrientation="nosensor"
Sebastiano Barezzi7d966da2022-09-07 03:26:14 +020034 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 Barezzi80c1a1a2022-08-06 13:13:39 +020046
Sebastiano Barezzi7d966da2022-09-07 03:26:14 +020047 <activity-alias
48 android:name=".CameraLauncher"
49 android:exported="true"
50 android:label="@string/app_name"
51 android:targetActivity=".CameraActivity">
Sebastiano Barezzi418f32c2022-08-01 18:04:08 +020052 <intent-filter>
53 <action android:name="android.intent.action.MAIN" />
54
Sebastiano Barezzi7d966da2022-09-07 03:26:14 +020055 <category android:name="android.intent.category.DEFAULT" />
Sebastiano Barezzi418f32c2022-08-01 18:04:08 +020056 <category android:name="android.intent.category.LAUNCHER" />
57 </intent-filter>
Sebastiano Barezzi7d966da2022-09-07 03:26:14 +020058 </activity-alias>
Sebastiano Barezzi80c1a1a2022-08-06 13:13:39 +020059
Sebastiano Barezzi7d966da2022-09-07 03:26:14 +020060 <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 Barezzi80c1a1a2022-08-06 13:13:39 +020068 <intent-filter>
69 <action android:name="android.media.action.IMAGE_CAPTURE" />
Sebastiano Barezzi7d966da2022-09-07 03:26:14 +020070 <category android:name="android.intent.category.DEFAULT" />
71 </intent-filter>
72 </activity>
73
LuK133733901162022-10-03 18:41:17 +020074 <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 Barezzi7d966da2022-09-07 03:26:14 +020083 <!-- 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 Barezzi80c1a1a2022-08-06 13:13:39 +020090 <action android:name="android.media.action.VIDEO_CAMERA" />
Sebastiano Barezzi7d966da2022-09-07 03:26:14 +020091 <category android:name="android.intent.category.DEFAULT" />
92 </intent-filter>
93 <intent-filter>
Sebastiano Barezzi4b217432022-09-06 15:42:51 +020094 <action android:name="android.media.action.VIDEO_CAPTURE" />
Sebastiano Barezzi7d966da2022-09-07 03:26:14 +020095 <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 Barezzif2252e52022-08-07 16:36:50 +0200110
111 <category android:name="android.intent.category.DEFAULT" />
Sebastiano Barezzi80c1a1a2022-08-06 13:13:39 +0200112 </intent-filter>
Sebastiano Barezzi7d966da2022-09-07 03:26:14 +0200113 <intent-filter>
114 <action android:name="android.media.action.IMAGE_CAPTURE_SECURE" />
Sebastiano Barezzi80c1a1a2022-08-06 13:13:39 +0200115
Sebastiano Barezzi7d966da2022-09-07 03:26:14 +0200116 <category android:name="android.intent.category.DEFAULT" />
117 </intent-filter>
Sebastiano Barezzi418f32c2022-08-01 18:04:08 +0200118 </activity>
Sebastiano Barezzi80c1a1a2022-08-06 13:13:39 +0200119
Sebastiano Barezzi75bcf462022-08-02 02:15:42 +0200120 <activity
121 android:name=".SettingsActivity"
Sebastiano Barezzi7d966da2022-09-07 03:26:14 +0200122 android:configChanges="orientation|screenLayout|screenSize|smallestScreenSize|keyboardHidden"
Sebastiano Barezzi75bcf462022-08-02 02:15:42 +0200123 android:exported="false"
Luca Stefani7ad6d932022-08-12 17:45:09 +0200124 android:label="@string/title_activity_settings"
125 android:theme="@style/Theme.Aperture.Settings" />
Sebastiano Barezzi80c1a1a2022-08-06 13:13:39 +0200126
Sebastiano Barezzi418f32c2022-08-01 18:04:08 +0200127 </application>
128
LuK13373043adc2022-09-06 20:30:56 +0200129</manifest>