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