Modern Apps git
git clone https://git.maproj.org/Modern-Apps.git
dependencies ▾

Modern-Apps.git / photos / src / main / AndroidManifest.xml

AndroidManifest.xml124 lines · 6.0 KiBRaw
1<?xml version="1.0" encoding="utf-8"?>
2<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3 xmlns:tools="http://schemas.android.com/tools">
4
5 <!-- MAOS: opt out of the GrapheneOS Sensors permission (OTHER_SENSORS). -->
6 <!-- This app uses no motion/environment sensors; MAOS withholds the -->
7 <!-- Sensors permission at install instead of auto-granting it. -->
8 <uses-permission android:name="com.vayunmathur.permission.SENSORS_OPTOUT" />
9
10 <uses-permission
11 android:name="android.permission.READ_EXTERNAL_STORAGE"
12 android:maxSdkVersion="32" />
13 <uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
14 <uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
15 <uses-permission android:name="android.permission.READ_MEDIA_VISUAL_USER_SELECTED" />
16 <uses-permission android:name="android.permission.ACCESS_MEDIA_LOCATION" />
17 <uses-permission android:name="android.permission.MANAGE_MEDIA" />
18
19 <uses-permission android:name="android.permission.SET_WALLPAPER" />
20 <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
21
22 <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
23 <uses-permission android:name="android.permission.INTERNET" />
24 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
25 <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
26 <uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" />
27
28 <permission
29 android:name="com.vayunmathur.photos.permissions.ACCESS_PHOTOS"
30 android:protectionLevel="signature" />
31 <application
32 android:allowBackup="true"
33 android:backupAgent=".platform.AppBackupAgent"
34 android:dataExtractionRules="@xml/data_extraction_rules"
35 android:icon="@mipmap/ic_launcher"
36 android:label="@string/app_name"
37 android:roundIcon="@mipmap/ic_launcher"
38 android:supportsRtl="true"
39 android:theme="@style/Theme.General">
40 <activity
41 android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode"
42 android:name=".MainActivity"
43 android:exported="true"
44 android:theme="@style/Theme.General">
45 <intent-filter>
46 <action android:name="android.intent.action.MAIN" />
47
48 <category android:name="android.intent.category.LAUNCHER" />
49 </intent-filter>
50 <intent-filter android:label="@string/app_name">
51 <action android:name="android.intent.action.VIEW" />
52 <category android:name="android.intent.category.DEFAULT" />
53 <category android:name="android.intent.category.BROWSABLE" />
54 <data android:mimeType="image/*" />
55 <data android:mimeType="video/*" />
56 </intent-filter>
57 </activity>
58 <activity android:name=".ui.EditActivity"
59 android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode"
60 android:exported="true"
61 android:theme="@style/Theme.General">
62 <intent-filter android:label="@string/edit_with_label">
63 <action android:name="android.intent.action.EDIT" />
64 <category android:name="android.intent.category.DEFAULT" />
65 <data android:mimeType="image/*" />
66 </intent-filter>
67 </activity>
68 <activity android:name=".ui.VideoEditActivity"
69 android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode"
70 android:exported="true"
71 android:theme="@style/Theme.General">
72 <intent-filter android:label="@string/video_edit_with_label">
73 <action android:name="android.intent.action.EDIT" />
74 <category android:name="android.intent.category.DEFAULT" />
75 <data android:mimeType="video/*" />
76 </intent-filter>
77 </activity>
78 <activity
79 android:name=".intents.SearchPhotosIntent"
80 android:exported="true"
81 android:theme="@android:style/Theme.NoDisplay"
82 android:permission="com.vayunmathur.photos.permissions.ACCESS_PHOTOS">
83 </activity>
84 <receiver
85 android:name=".widget.PhotoGlanceWidgetReceiver"
86 android:exported="false">
87 <intent-filter>
88 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
89 </intent-filter>
90 <meta-data
91 android:name="android.appwidget.provider"
92 android:resource="@xml/photo_glance_widget_info" />
93 </receiver>
94
95 <provider
96 android:name="androidx.core.content.FileProvider"
97 android:authorities="${applicationId}.fileprovider"
98 android:exported="false"
99 android:grantUriPermissions="true">
100 <meta-data
101 android:name="android.support.FILE_PROVIDER_PATHS"
102 android:resource="@xml/file_paths" />
103 </provider>
104
105 <service
106 android:name="androidx.work.impl.foreground.SystemForegroundService"
107 android:foregroundServiceType="dataSync"
108 tools:node="merge" />
109
110 <service
111 android:name=".service.LiveWallpaperService"
112 android:exported="true"
113 android:permission="android.permission.BIND_WALLPAPER">
114 <intent-filter>
115 <action android:name="android.service.wallpaper.WallpaperService" />
116 </intent-filter>
117 <meta-data
118 android:name="android.service.wallpaper"
119 android:resource="@xml/live_wallpaper" />
120 </service>
121
122 </application>
123
124</manifest>