1<?xml version="1.0" encoding="utf-8"?> 2 3<manifest android:versionCode="40030" 4 android:versionName="1.1.40030" 5 xmlns:android="http://schemas.android.com/apk/res/android" 6 package="com.android.gallery3d"> 7 8 <original-package android:name="com.android.gallery3d" /> 9 10 <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="29" /> 11 12 <permission android:name="com.android.gallery3d.permission.GALLERY_PROVIDER" 13 android:protectionLevel="signatureOrSystem" /> 14 15 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> 16 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> 17 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> 18 <uses-permission android:name="android.permission.CAMERA" /> 19 <uses-permission android:name="android.permission.GET_ACCOUNTS" /> 20 <uses-permission android:name="android.permission.INTERNET" /> 21 <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" /> 22 <uses-permission android:name="android.permission.NFC" /> 23 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" /> 24 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> 25 <uses-permission android:name="android.permission.RECORD_AUDIO" /> 26 <uses-permission android:name="android.permission.SET_WALLPAPER" /> 27 <uses-permission android:name="android.permission.USE_CREDENTIALS" /> 28 <uses-permission android:name="android.permission.VIBRATE" /> 29 <uses-permission android:name="android.permission.WAKE_LOCK" /> 30 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> 31 <uses-permission android:name="android.permission.WRITE_SETTINGS" /> 32 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" /> 33 <uses-permission android:name="com.android.gallery3d.permission.GALLERY_PROVIDER" /> 34 35 <supports-screens android:smallScreens="false" 36 android:normalScreens="true" android:largeScreens="true" 37 android:anyDensity="true" /> 38 39 <application android:icon="@mipmap/ic_launcher_gallery" android:label="@string/app_name" 40 android:name="com.android.gallery3d.app.GalleryAppImpl" 41 android:theme="@style/Theme.Gallery" 42 android:logo="@mipmap/ic_launcher_gallery" 43 android:hardwareAccelerated="true" 44 android:largeHeap="true" 45 android:restoreAnyVersion="true" 46 android:supportsRtl="true" 47 android:requestLegacyExternalStorage="true" 48 usesCleartextHttp="true"> 49 <uses-library android:name="com.google.android.media.effects" android:required="false" /> 50 <uses-library android:name="org.apache.http.legacy" android:required="false" /> 51 <activity android:name="com.android.gallery3d.app.MovieActivity" 52 android:label="@string/movie_view_label" 53 android:configChanges="orientation|keyboardHidden|screenSize"> 54 <intent-filter> 55 <action android:name="android.intent.action.VIEW" /> 56 <category android:name="android.intent.category.DEFAULT" /> 57 <category android:name="android.intent.category.BROWSABLE" /> 58 <data android:scheme="rtsp" /> 59 </intent-filter> 60 <intent-filter> 61 <action android:name="android.intent.action.VIEW" /> 62 <category android:name="android.intent.category.DEFAULT" /> 63 <category android:name="android.intent.category.BROWSABLE" /> 64 <data android:scheme="http" /> 65 <data android:scheme="https" /> 66 <data android:scheme="content" /> 67 <data android:scheme="file" /> 68 <data android:mimeType="video/mpeg4" /> 69 <data android:mimeType="video/mp4" /> 70 <data android:mimeType="video/3gp" /> 71 <data android:mimeType="video/3gpp" /> 72 <data android:mimeType="video/3gpp2" /> 73 <data android:mimeType="video/webm" /> 74 <data android:mimeType="video/avi" /> 75 </intent-filter> 76 <intent-filter> 77 <!-- HTTP live support --> 78 <action android:name="android.intent.action.VIEW" /> 79 <category android:name="android.intent.category.DEFAULT" /> 80 <category android:name="android.intent.category.BROWSABLE" /> 81 <data android:scheme="http" /> 82 <data android:scheme="https" /> 83 <data android:mimeType="audio/x-mpegurl" /> 84 <data android:mimeType="audio/mpegurl" /> 85 <data android:mimeType="application/vnd.apple.mpegurl" /> 86 <data android:mimeType="application/x-mpegurl" /> 87 </intent-filter> 88 </activity> 89 90 <activity android:name="com.android.gallery3d.app.GalleryActivity" android:label="@string/app_name" 91 android:configChanges="keyboardHidden|orientation|screenSize"> 92 <intent-filter> 93 <action android:name="android.intent.action.MAIN" /> 94 <category android:name="android.intent.category.DEFAULT" /> 95 <category android:name="android.intent.category.LAUNCHER" /> 96 <category android:name="android.intent.category.APP_GALLERY" /> 97 </intent-filter> 98 <intent-filter> 99 <action android:name="android.intent.action.GET_CONTENT" /> 100 <category android:name="android.intent.category.OPENABLE" /> 101 <data android:mimeType="vnd.android.cursor.dir/image" /> 102 </intent-filter> 103 <intent-filter> 104 <action android:name="android.intent.action.GET_CONTENT" /> 105 <category android:name="android.intent.category.OPENABLE" /> 106 <category android:name="android.intent.category.DEFAULT" /> 107 <data android:mimeType="image/*" /> 108 <data android:mimeType="video/*" /> 109 </intent-filter> 110 <!-- We do NOT support the PICK intent, we add these intent-filter for 111 backward compatibility. Handle it as GET_CONTENT. --> 112 <intent-filter> 113 <action android:name="android.intent.action.PICK" /> 114 <category android:name="android.intent.category.DEFAULT" /> 115 <data android:mimeType="image/*" /> 116 <data android:mimeType="video/*" /> 117 </intent-filter> 118 <intent-filter> 119 <action android:name="android.intent.action.PICK" /> 120 <category android:name="android.intent.category.DEFAULT" /> 121 <data android:mimeType="vnd.android.cursor.dir/image" /> 122 <data android:mimeType="vnd.android.cursor.dir/video" /> 123 </intent-filter> 124 <intent-filter> 125 <action android:name="android.intent.action.VIEW" /> 126 <category android:name="android.intent.category.DEFAULT" /> 127 <data android:mimeType="vnd.android.cursor.dir/image" /> 128 <data android:mimeType="vnd.android.cursor.dir/video" /> 129 </intent-filter> 130 <intent-filter> 131 <action android:name="android.intent.action.VIEW" /> 132 <action android:name="com.android.camera.action.REVIEW" /> 133 <category android:name="android.intent.category.DEFAULT" /> 134 <category android:name="android.intent.category.BROWSABLE" /> 135 <data android:scheme="" /> 136 <data android:scheme="http" /> 137 <data android:scheme="https" /> 138 <data android:scheme="content" /> 139 <data android:scheme="file" /> 140 <data android:mimeType="image/*" /> 141 <data android:mimeType="application/vnd.google.panorama360+jpg" /> 142 </intent-filter> 143 <intent-filter> 144 <action android:name="com.android.camera.action.REVIEW" /> 145 <category android:name="android.intent.category.DEFAULT" /> 146 <category android:name="android.intent.category.BROWSABLE" /> 147 <data android:scheme="http" /> 148 <data android:scheme="https" /> 149 <data android:scheme="content" /> 150 <data android:scheme="file" /> 151 <data android:mimeType="video/mpeg4" /> 152 <data android:mimeType="video/mp4" /> 153 <data android:mimeType="video/3gp" /> 154 <data android:mimeType="video/3gpp" /> 155 <data android:mimeType="video/3gpp2" /> 156 </intent-filter> 157 </activity> 158 159 <!-- This activity acts as a trampoline to the new Gallery activity, 160 so that existing shortcuts are preserved. --> 161 <activity android:name="com.android.gallery3d.app.Gallery" 162 android:theme="@style/android:Theme.NoDisplay"> 163 <intent-filter> 164 <action android:name="android.intent.action.MAIN" /> 165 <category android:name="android.intent.category.DEFAULT" /> 166 </intent-filter> 167 </activity> 168 169 <!-- we add this activity-alias for shortcut backward compatibility --> 170 <!-- Note: The alias must put after the target activity --> 171 <activity-alias android:name="com.cooliris.media.Gallery" 172 android:targetActivity="com.android.gallery3d.app.GalleryActivity" 173 android:configChanges="keyboardHidden|orientation|screenSize" 174 android:label="@string/app_name"> 175 <intent-filter> 176 <action android:name="android.intent.action.MAIN" /> 177 </intent-filter> 178 </activity-alias> 179 180 <!-- This activity acts as a trampoline to the new Camera activity 181 in com.android.camera2 package, so that existing shortcuts 182 are preserved. --> 183 <activity android:name="com.android.camera.CameraActivity" 184 android:icon="@mipmap/ic_launcher_camera" 185 android:label="@string/camera_label" 186 android:taskAffinity="com.android.camera.CameraActivity" 187 android:theme="@style/android:Theme.NoDisplay" /> 188 <activity-alias android:name="com.android.camera.CameraLauncher" 189 android:label="@string/camera_label" 190 android:targetActivity="com.android.camera.CameraActivity"> 191 <intent-filter> 192 <action android:name="android.intent.action.MAIN" /> 193 <category android:name="android.intent.category.DEFAULT" /> 194 </intent-filter> 195 </activity-alias> 196 197 <!-- This activity receives USB_DEVICE_ATTACHED intents and allows importing 198 media from attached MTP devices, like cameras and camera phones --> 199 <activity android:launchMode="singleInstance" 200 android:taskAffinity="" android:name="com.android.gallery3d.ingest.IngestActivity" 201 android:configChanges="orientation|screenSize" 202 android:label="@string/app_name"> 203 <intent-filter> 204 <action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" /> 205 </intent-filter> 206 <meta-data android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" 207 android:resource="@xml/device_filter" /> 208 </activity> 209 <service android:name="com.android.gallery3d.ingest.IngestService" /> 210 211 <activity android:name="com.android.gallery3d.app.Wallpaper" 212 android:configChanges="keyboardHidden|orientation|screenSize" 213 android:theme="@style/android:Theme.Translucent.NoTitleBar"> 214 <intent-filter android:label="@string/camera_setas_wallpaper"> 215 <action android:name="android.intent.action.ATTACH_DATA" /> 216 <data android:mimeType="image/*" /> 217 <category android:name="android.intent.category.DEFAULT" /> 218 </intent-filter> 219 <intent-filter android:label="@string/app_name"> 220 <action android:name="android.intent.action.SET_WALLPAPER" /> 221 <category android:name="android.intent.category.DEFAULT" /> 222 </intent-filter> 223 <meta-data android:name="android.wallpaper.preview" 224 android:resource="@xml/wallpaper_picker_preview" /> 225 </activity> 226 <activity android:name="com.android.gallery3d.app.TrimVideo" 227 android:label="@string/trim_label"> 228 <intent-filter android:label="@string/crop_label"> 229 <action android:name="com.android.camera.action.TRIM" /> 230 <category android:name="android.intent.category.DEFAULT" /> 231 <data android:scheme="content" /> 232 <data android:scheme="file" /> 233 <data android:mimeType="video/*" /> 234 </intent-filter> 235 </activity> 236 237 <provider 238 android:name="com.android.gallery3d.filtershow.provider.SharedImageProvider" 239 android:authorities="com.android.gallery3d.filtershow.provider.SharedImageProvider" 240 android:grantUriPermissions="true" 241 android:readPermission="com.android.gallery3d.filtershow.permission.READ" 242 android:writePermission="com.android.gallery3d.filtershow.permission.WRITE" /> 243 244 <service 245 android:name=".filtershow.pipeline.ProcessingService" 246 android:exported="false" /> 247 248 <activity 249 android:name="com.android.gallery3d.filtershow.FilterShowActivity" 250 android:label="@string/title_activity_filter_show" 251 android:theme="@style/Theme.FilterShow" 252 android:configChanges="keyboardHidden|orientation|screenSize"> 253 <intent-filter> 254 <action android:name="android.intent.action.EDIT" /> 255 <category android:name="android.intent.category.DEFAULT" /> 256 <data android:mimeType="image/*" /> 257 </intent-filter> 258 <intent-filter> 259 <action android:name="action_nextgen_edit" /> 260 <category android:name="android.intent.category.DEFAULT" /> 261 <data android:mimeType="image/*" /> 262 </intent-filter> 263 </activity> 264 265 <activity 266 android:name="com.android.gallery3d.filtershow.crop.CropActivity" 267 android:label="@string/crop" 268 android:theme="@style/Theme.Crop" 269 android:configChanges="keyboardHidden|orientation|screenSize"> 270 <intent-filter android:label="@string/crop_label"> 271 <action android:name="com.android.camera.action.CROP" /> 272 <data android:scheme="content" /> 273 <data android:scheme="file" /> 274 <data android:mimeType="image/*" /> 275 <category android:name="android.intent.category.DEFAULT" /> 276 <category android:name="android.intent.category.ALTERNATIVE" /> 277 <category android:name="android.intent.category.SELECTED_ALTERNATIVE" /> 278 </intent-filter> 279 </activity> 280 281 <uses-library android:name="com.google.android.media.effects" 282 android:required="false" /> 283 284 <activity android:name="com.android.gallery3d.settings.GallerySettings" 285 android:theme="@style/Theme.Gallery" 286 android:configChanges="orientation|keyboardHidden|screenSize" /> 287 288 <provider android:name="com.android.gallery3d.provider.GalleryProvider" 289 android:syncable="false" 290 android:grantUriPermissions="true" 291 android:exported="true" 292 android:permission="com.android.gallery3d.permission.GALLERY_PROVIDER" 293 android:authorities="com.android.gallery3d.provider" /> 294 <provider 295 android:name="com.android.photos.data.PhotoProvider" 296 android:authorities="com.android.gallery3d.photoprovider" 297 android:syncable="false" 298 android:exported="false"/> 299 <activity android:name="com.android.gallery3d.gadget.WidgetClickHandler" /> 300 <activity android:name="com.android.gallery3d.app.DialogPicker" 301 android:configChanges="keyboardHidden|orientation|screenSize" 302 android:theme="@style/DialogPickerTheme"/> 303 <activity android:name="com.android.gallery3d.app.AlbumPicker" 304 android:configChanges="keyboardHidden|orientation|screenSize" 305 android:theme="@style/DialogPickerTheme"/> 306 <activity android:name="com.android.gallery3d.gadget.WidgetTypeChooser" 307 android:configChanges="keyboardHidden|orientation|screenSize" 308 android:theme="@style/Theme.Gallery.Dialog"/> 309 310 <receiver android:name="com.android.gallery3d.gadget.PhotoAppWidgetProvider" 311 android:label="@string/appwidget_title"> 312 <intent-filter> 313 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> 314 </intent-filter> 315 <meta-data android:name="android.appwidget.provider" 316 android:resource="@xml/widget_info" /> 317 </receiver> 318 <receiver android:name="com.android.gallery3d.app.PackagesMonitor"> 319 <intent-filter> 320 <action android:name="android.intent.action.PACKAGE_ADDED"/> 321 <action android:name="android.intent.action.PACKAGE_REMOVED"/> 322 <action android:name="android.intent.action.PACKAGE_CHANGED"/> 323 <data android:scheme="package"/> 324 </intent-filter> 325 </receiver> 326 <service android:name="com.android.gallery3d.app.PackagesMonitor$AsyncService" 327 android:permission="android.permission.BIND_JOB_SERVICE" 328 android:exported="true"/> 329 <service android:name="com.android.gallery3d.gadget.WidgetService" 330 android:permission="android.permission.BIND_REMOTEVIEWS"/> 331 <activity android:name="com.android.gallery3d.gadget.WidgetConfigure" 332 android:configChanges="keyboardHidden|orientation|screenSize" 333 android:theme="@style/android:Theme.Translucent.NoTitleBar"> 334 <intent-filter> 335 <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" /> 336 </intent-filter> 337 </activity> 338 <service android:name="com.android.gallery3d.app.BatchService" /> 339 340 <receiver android:name="com.android.camera.DisableCameraReceiver"> 341 <intent-filter> 342 <action android:name="android.intent.action.BOOT_COMPLETED" /> 343 </intent-filter> 344 </receiver> 345 346 <service android:name="com.android.camera.MediaSaveService" /> 347 </application> 348</manifest> 349