blob: d8e62d0af003643a6509d74e0986219c0fc416b6 [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
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 Barezzi80c1a1a2022-08-06 13:13:39 +020081 <action android:name="android.media.action.VIDEO_CAMERA" />
Sebastiano Barezzi7d966da2022-09-07 03:26:14 +020082 <category android:name="android.intent.category.DEFAULT" />
83 </intent-filter>
84 <intent-filter>
Sebastiano Barezzi4b217432022-09-06 15:42:51 +020085 <action android:name="android.media.action.VIDEO_CAPTURE" />
Sebastiano Barezzi7d966da2022-09-07 03:26:14 +020086 <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 Barezzif2252e52022-08-07 16:36:50 +0200101
102 <category android:name="android.intent.category.DEFAULT" />
Sebastiano Barezzi80c1a1a2022-08-06 13:13:39 +0200103 </intent-filter>
Sebastiano Barezzi7d966da2022-09-07 03:26:14 +0200104 <intent-filter>
105 <action android:name="android.media.action.IMAGE_CAPTURE_SECURE" />
Sebastiano Barezzi80c1a1a2022-08-06 13:13:39 +0200106
Sebastiano Barezzi7d966da2022-09-07 03:26:14 +0200107 <category android:name="android.intent.category.DEFAULT" />
108 </intent-filter>
Sebastiano Barezzi418f32c2022-08-01 18:04:08 +0200109 </activity>
Sebastiano Barezzi80c1a1a2022-08-06 13:13:39 +0200110
Sebastiano Barezzi75bcf462022-08-02 02:15:42 +0200111 <activity
112 android:name=".SettingsActivity"
Sebastiano Barezzi7d966da2022-09-07 03:26:14 +0200113 android:configChanges="orientation|screenLayout|screenSize|smallestScreenSize|keyboardHidden"
Sebastiano Barezzi75bcf462022-08-02 02:15:42 +0200114 android:exported="false"
Luca Stefani7ad6d932022-08-12 17:45:09 +0200115 android:label="@string/title_activity_settings"
116 android:theme="@style/Theme.Aperture.Settings" />
Sebastiano Barezzi80c1a1a2022-08-06 13:13:39 +0200117
Sebastiano Barezzi418f32c2022-08-01 18:04:08 +0200118 </application>
119
LuK13373043adc2022-09-06 20:30:56 +0200120</manifest>