Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / photos / src / main / AndroidManifest.xml
AndroidManifest.xml112 lines · 5.3 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 | <uses-permission |
| 6 | android:name="android.permission.READ_EXTERNAL_STORAGE" |
| 7 | android:maxSdkVersion="32" /> |
| 8 | <uses-permission |
| 9 | android:name="android.permission.WRITE_EXTERNAL_STORAGE" |
| 10 | android:maxSdkVersion="29" /> |
| 11 | |
| 12 | <uses-permission android:name="android.permission.READ_MEDIA_IMAGES" /> |
| 13 | <uses-permission android:name="android.permission.READ_MEDIA_VIDEO" /> |
| 14 | <uses-permission android:name="android.permission.ACCESS_MEDIA_LOCATION" /> |
| 15 | <uses-permission android:name="android.permission.MANAGE_MEDIA" /> |
| 16 | |
| 17 | <uses-permission android:name="android.permission.SET_WALLPAPER" /> |
| 18 | <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" /> |
| 19 | |
| 20 | <uses-permission android:name="android.permission.INTERNET" /> |
| 21 | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |
| 22 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> |
| 23 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" /> |
| 24 | <application |
| 25 | android:allowBackup="true" |
| 26 | android:backupAgent=".util.AppBackupAgent" |
| 27 | android:dataExtractionRules="@xml/data_extraction_rules" |
| 28 | android:icon="@mipmap/ic_launcher" |
| 29 | android:label="@string/app_name" |
| 30 | android:requestLegacyExternalStorage="true" |
| 31 | android:roundIcon="@mipmap/ic_launcher" |
| 32 | android:supportsRtl="true" |
| 33 | android:theme="@style/Theme.General"> |
| 34 | <activity |
| 35 | android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode" |
| 36 | android:name=".MainActivity" |
| 37 | android:exported="true" |
| 38 | android:theme="@style/Theme.General"> |
| 39 | <intent-filter> |
| 40 | <action android:name="android.intent.action.MAIN" /> |
| 41 | |
| 42 | <category android:name="android.intent.category.LAUNCHER" /> |
| 43 | </intent-filter> |
| 44 | <intent-filter android:label="@string/app_name"> |
| 45 | <action android:name="android.intent.action.VIEW" /> |
| 46 | <category android:name="android.intent.category.DEFAULT" /> |
| 47 | <category android:name="android.intent.category.BROWSABLE" /> |
| 48 | <data android:mimeType="image/*" /> |
| 49 | <data android:mimeType="video/*" /> |
| 50 | </intent-filter> |
| 51 | </activity> |
| 52 | <activity android:name=".ui.EditActivity" |
| 53 | android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode" |
| 54 | android:exported="true" |
| 55 | android:theme="@style/Theme.General"> |
| 56 | <intent-filter android:label="@string/edit_with_label"> |
| 57 | <action android:name="android.intent.action.EDIT" /> |
| 58 | <category android:name="android.intent.category.DEFAULT" /> |
| 59 | <data android:mimeType="image/*" /> |
| 60 | </intent-filter> |
| 61 | </activity> |
| 62 | <activity android:name=".ui.VideoEditActivity" |
| 63 | android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode" |
| 64 | android:exported="true" |
| 65 | android:theme="@style/Theme.General"> |
| 66 | <intent-filter android:label="@string/video_edit_with_label"> |
| 67 | <action android:name="android.intent.action.EDIT" /> |
| 68 | <category android:name="android.intent.category.DEFAULT" /> |
| 69 | <data android:mimeType="video/*" /> |
| 70 | </intent-filter> |
| 71 | </activity> |
| 72 | <receiver |
| 73 | android:name=".glance.PhotoGlanceWidgetReceiver" |
| 74 | android:exported="false"> |
| 75 | <intent-filter> |
| 76 | <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> |
| 77 | </intent-filter> |
| 78 | <meta-data |
| 79 | android:name="android.appwidget.provider" |
| 80 | android:resource="@xml/photo_glance_widget_info" /> |
| 81 | </receiver> |
| 82 | |
| 83 | <provider |
| 84 | android:name="androidx.core.content.FileProvider" |
| 85 | android:authorities="${applicationId}.fileprovider" |
| 86 | android:exported="false" |
| 87 | android:grantUriPermissions="true"> |
| 88 | <meta-data |
| 89 | android:name="android.support.FILE_PROVIDER_PATHS" |
| 90 | android:resource="@xml/file_paths" /> |
| 91 | </provider> |
| 92 | |
| 93 | <service |
| 94 | android:name="androidx.work.impl.foreground.SystemForegroundService" |
| 95 | android:foregroundServiceType="dataSync" |
| 96 | tools:node="merge" /> |
| 97 | |
| 98 | <service |
| 99 | android:name=".service.LiveWallpaperService" |
| 100 | android:exported="true" |
| 101 | android:permission="android.permission.BIND_WALLPAPER"> |
| 102 | <intent-filter> |
| 103 | <action android:name="android.service.wallpaper.WallpaperService" /> |
| 104 | </intent-filter> |
| 105 | <meta-data |
| 106 | android:name="android.service.wallpaper" |
| 107 | android:resource="@xml/live_wallpaper" /> |
| 108 | </service> |
| 109 | |
| 110 | </application> |
| 111 | |
| 112 | </manifest> |