1<?xml version="1.0" encoding="utf-8"?> 2 3<manifest android:versionCode="40001" 4 android:versionName="1.1.40001" 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="10" android:targetSdkVersion="16" /> 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_SMS" /> 24 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" /> 25 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> 26 <uses-permission android:name="android.permission.RECORD_AUDIO" /> 27 <uses-permission android:name="android.permission.SET_WALLPAPER" /> 28 <uses-permission android:name="android.permission.USE_CREDENTIALS" /> 29 <uses-permission android:name="android.permission.VIBRATE" /> 30 <uses-permission android:name="android.permission.WAKE_LOCK" /> 31 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> 32 <uses-permission android:name="android.permission.WRITE_SETTINGS" /> 33 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" /> 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 <uses-library android:name="com.google.android.media.effects" android:required="false" /> 46 <activity android:name="com.android.gallery3d.app.MovieActivity" 47 android:label="@string/movie_view_label" 48 android:configChanges="orientation|keyboardHidden|screenSize"> 49 <intent-filter> 50 <action android:name="android.intent.action.VIEW" /> 51 <category android:name="android.intent.category.DEFAULT" /> 52 <category android:name="android.intent.category.BROWSABLE" /> 53 <data android:scheme="rtsp" /> 54 </intent-filter> 55 <intent-filter> 56 <action android:name="android.intent.action.VIEW" /> 57 <category android:name="android.intent.category.DEFAULT" /> 58 <category android:name="android.intent.category.BROWSABLE" /> 59 <data android:scheme="http" /> 60 <data android:scheme="https" /> 61 <data android:scheme="content" /> 62 <data android:scheme="file" /> 63 <data android:mimeType="video/mpeg4" /> 64 <data android:mimeType="video/mp4" /> 65 <data android:mimeType="video/3gp" /> 66 <data android:mimeType="video/3gpp" /> 67 <data android:mimeType="video/3gpp2" /> 68 <data android:mimeType="video/webm" /> 69 <data android:mimeType="video/avi" /> 70 <data android:mimeType="application/sdp" /> 71 </intent-filter> 72 <intent-filter> 73 !-- HTTP live support --> 74 <action android:name="android.intent.action.VIEW" /> 75 <category android:name="android.intent.category.DEFAULT" /> 76 <category android:name="android.intent.category.BROWSABLE" /> 77 <data android:scheme="http" /> 78 <data android:scheme="https" /> 79 <data android:mimeType="audio/x-mpegurl" /> 80 <data android:mimeType="audio/mpegurl" /> 81 <data android:mimeType="application/vnd.apple.mpegurl" /> 82 <data android:mimeType="application/x-mpegurl" /> 83 </intent-filter> 84 </activity> 85 86 <activity android:name="com.android.gallery3d.app.Gallery" android:label="@string/app_name" 87 android:configChanges="keyboardHidden|orientation|screenSize"> 88 <intent-filter> 89 <action android:name="android.intent.action.MAIN" /> 90 <category android:name="android.intent.category.DEFAULT" /> 91 <category android:name="android.intent.category.LAUNCHER" /> 92 <category android:name="android.intent.category.APP_GALLERY" /> 93 </intent-filter> 94 <intent-filter> 95 <action android:name="android.intent.action.GET_CONTENT" /> 96 <category android:name="android.intent.category.OPENABLE" /> 97 <data android:mimeType="vnd.android.cursor.dir/image" /> 98 </intent-filter> 99 <intent-filter> 100 <action android:name="android.intent.action.GET_CONTENT" /> 101 <category android:name="android.intent.category.OPENABLE" /> 102 <category android:name="android.intent.category.DEFAULT" /> 103 <data android:mimeType="image/*" /> 104 <data android:mimeType="video/*" /> 105 </intent-filter> 106 <intent-filter> 107 <action android:name="android.intent.action.VIEW" /> 108 <category android:name="android.intent.category.DEFAULT" /> 109 <data android:mimeType="vnd.android.cursor.dir/image" /> 110 <data android:mimeType="vnd.android.cursor.dir/video" /> 111 </intent-filter> 112 <intent-filter> 113 <action android:name="android.intent.action.VIEW" /> 114 <action android:name="com.android.camera.action.REVIEW" /> 115 <category android:name="android.intent.category.DEFAULT" /> 116 <category android:name="android.intent.category.BROWSABLE" /> 117 <data android:scheme="" /> 118 <data android:scheme="http" /> 119 <data android:scheme="https" /> 120 <data android:scheme="content" /> 121 <data android:scheme="file" /> 122 <data android:mimeType="image/bmp" /> 123 <data android:mimeType="image/jpeg" /> 124 <data android:mimeType="image/gif" /> 125 <data android:mimeType="image/png" /> 126 <data android:mimeType="image/x-ms-bmp" /> 127 <data android:mimeType="image/vnd.wap.wbmp" /> 128 <data android:mimeType="application/vnd.google.panorama360+jpg" /> 129 </intent-filter> 130 <intent-filter> 131 <action android:name="com.android.camera.action.REVIEW" /> 132 <category android:name="android.intent.category.DEFAULT" /> 133 <category android:name="android.intent.category.BROWSABLE" /> 134 <data android:scheme="http" /> 135 <data android:scheme="https" /> 136 <data android:scheme="content" /> 137 <data android:scheme="file" /> 138 <data android:mimeType="video/mpeg4" /> 139 <data android:mimeType="video/mp4" /> 140 <data android:mimeType="video/3gp" /> 141 <data android:mimeType="video/3gpp" /> 142 <data android:mimeType="video/3gpp2" /> 143 <data android:mimeType="application/sdp" /> 144 </intent-filter> 145 <!-- We do NOT support the PICK intent, we add these intent-filter for 146 backward compatibility. Handle it as GET_CONTENT. --> 147 <intent-filter> 148 <action android:name="android.intent.action.PICK" /> 149 <category android:name="android.intent.category.DEFAULT" /> 150 <data android:mimeType="image/*" /> 151 <data android:mimeType="video/*" /> 152 </intent-filter> 153 <intent-filter> 154 <action android:name="android.intent.action.PICK" /> 155 <category android:name="android.intent.category.DEFAULT" /> 156 <data android:mimeType="vnd.android.cursor.dir/image" /> 157 <data android:mimeType="vnd.android.cursor.dir/video" /> 158 </intent-filter> 159 </activity> 160 161 <!-- we add this activity-alias for shortcut backward compatibility --> 162 <!-- Note: The alias must put after the target activity --> 163 <activity-alias android:name="com.cooliris.media.Gallery" 164 android:targetActivity="com.android.gallery3d.app.Gallery" 165 android:configChanges="keyboardHidden|orientation|screenSize" 166 android:label="@string/app_name"> 167 <intent-filter> 168 <action android:name="android.intent.action.MAIN" /> 169 </intent-filter> 170 </activity-alias> 171 172 <!-- This activity receives USB_DEVICE_ATTACHED Intents and springboards to main Gallery activity. --> 173 <activity android:name="com.android.gallery3d.app.UsbDeviceActivity" android:label="@string/app_name" 174 android:taskAffinity="" 175 android:launchMode="singleInstance"> 176 <intent-filter> 177 <action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" /> 178 </intent-filter> 179 <meta-data android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" 180 android:resource="@xml/device_filter" /> 181 </activity> 182 183 <activity android:name="com.android.gallery3d.app.Wallpaper" 184 android:configChanges="keyboardHidden|orientation|screenSize" 185 android:theme="@style/android:Theme.Translucent.NoTitleBar"> 186 <intent-filter android:label="@string/camera_setas_wallpaper"> 187 <action android:name="android.intent.action.ATTACH_DATA" /> 188 <data android:mimeType="image/*" /> 189 <category android:name="android.intent.category.DEFAULT" /> 190 </intent-filter> 191 <intent-filter android:label="@string/app_name"> 192 <action android:name="android.intent.action.SET_WALLPAPER" /> 193 <category android:name="android.intent.category.DEFAULT" /> 194 </intent-filter> 195 <meta-data android:name="android.wallpaper.preview" 196 android:resource="@xml/wallpaper_picker_preview" /> 197 </activity> 198 <activity android:name="com.android.gallery3d.app.CropImage" 199 android:configChanges="keyboardHidden|orientation|screenSize" 200 android:label="@string/crop_label" 201 android:process=":crop"> 202 <intent-filter android:label="@string/crop_label"> 203 <action android:name="com.android.camera.action.CROP" /> 204 <data android:scheme="http" /> 205 <data android:scheme="https" /> 206 <data android:scheme="content" /> 207 <data android:scheme="file" /> 208 <data android:scheme="" /> 209 <data android:mimeType="image/*" /> 210 <category android:name="android.intent.category.DEFAULT" /> 211 <category android:name="android.intent.category.ALTERNATIVE" /> 212 <category android:name="android.intent.category.SELECTED_ALTERNATIVE" /> 213 </intent-filter> 214 </activity> 215 <activity android:name="com.android.gallery3d.app.TrimVideo" 216 android:label="@string/trim_label"> 217 </activity> 218 219 <permission android:name="com.android.gallery3d.filtershow.permission.READ" 220 android:protectionLevel="signature" /> 221 222 <permission android:name="com.android.gallery3d.filtershow.permission.WRITE" 223 android:protectionLevel="signature" /> 224 225 <provider 226 android:name="com.android.gallery3d.filtershow.provider.SharedImageProvider" 227 android:authorities="com.android.gallery3d.filtershow.provider.SharedImageProvider" 228 android:grantUriPermissions="true" 229 android:readPermission="com.android.gallery3d.filtershow.permission.READ" 230 android:writePermission="com.android.gallery3d.filtershow.permission.WRITE" /> 231 <activity 232 android:name="com.android.gallery3d.filtershow.FilterShowActivity" 233 android:label="@string/title_activity_filter_show" 234 android:theme="@style/Theme.FilterShow" 235 android:configChanges="keyboardHidden|orientation|screenSize"> 236 <intent-filter> 237 <action android:name="android.intent.action.EDIT" /> 238 <category android:name="android.intent.category.DEFAULT" /> 239 <data android:mimeType="image/*" /> 240 </intent-filter> 241 <intent-filter> 242 <action android:name="action_nextgen_edit" /> 243 <category android:name="android.intent.category.DEFAULT" /> 244 <data android:mimeType="image/*" /> 245 </intent-filter> 246 <intent-filter android:label="@string/crop_label"> 247 <action android:name="com.android.camera.action.EDITOR_CROP" /> 248 <data android:scheme="http" /> 249 <data android:scheme="https" /> 250 <data android:scheme="content" /> 251 <data android:scheme="file" /> 252 <data android:scheme="" /> 253 <data android:mimeType="image/*" /> 254 <category android:name="android.intent.category.DEFAULT" /> 255 <category android:name="android.intent.category.ALTERNATIVE" /> 256 <category android:name="android.intent.category.SELECTED_ALTERNATIVE" /> 257 </intent-filter> 258 </activity> 259 260 <uses-library android:name="com.google.android.media.effects" 261 android:required="false" /> 262 263 <activity android:name="com.android.gallery3d.settings.GallerySettings" 264 android:theme="@style/Theme.Gallery" 265 android:configChanges="orientation|keyboardHidden|screenSize" /> 266 267 <provider android:name="com.android.gallery3d.provider.GalleryProvider" 268 android:syncable="false" 269 android:grantUriPermissions="true" 270 android:exported="true" 271 android:permission="com.android.gallery3d.permission.GALLERY_PROVIDER" 272 android:authorities="com.android.gallery3d.provider" /> 273 <activity android:name="com.android.gallery3d.gadget.WidgetClickHandler" /> 274 <activity android:name="com.android.gallery3d.app.DialogPicker" 275 android:configChanges="keyboardHidden|orientation|screenSize" 276 android:theme="@style/DialogPickerTheme"/> 277 <activity android:name="com.android.gallery3d.app.AlbumPicker" 278 android:configChanges="keyboardHidden|orientation|screenSize" 279 android:theme="@style/DialogPickerTheme"/> 280 <activity android:name="com.android.gallery3d.gadget.WidgetTypeChooser" 281 android:configChanges="keyboardHidden|orientation|screenSize" 282 android:theme="@style/Theme.Gallery.Dialog"/> 283 284 <activity android:name="com.android.camera.CameraActivity" 285 android:taskAffinity="com.android.camera.CameraActivity" 286 android:label="@string/camera_label" 287 android:theme="@style/Theme.Camera" 288 android:icon="@mipmap/ic_launcher_camera" 289 android:configChanges="orientation|screenSize|keyboardHidden" 290 android:clearTaskOnLaunch="true" 291 android:windowSoftInputMode="stateAlwaysHidden|adjustPan"> 292 <intent-filter> 293 <action android:name="android.media.action.IMAGE_CAPTURE" /> 294 <category android:name="android.intent.category.DEFAULT" /> 295 </intent-filter> 296 <intent-filter> 297 <action android:name="android.media.action.STILL_IMAGE_CAMERA" /> 298 <category android:name="android.intent.category.DEFAULT" /> 299 </intent-filter> 300 <meta-data android:name="com.android.keyguard.layout" 301 android:resource="@layout/keyguard_widget" /> 302 </activity> 303 304 <activity android:name="com.android.camera.SecureCameraActivity" 305 android:taskAffinity="com.android.camera.SecureCameraActivity" 306 android:excludeFromRecents="true" 307 android:label="@string/camera_label" 308 android:theme="@style/Theme.CameraSecure" 309 android:icon="@mipmap/ic_launcher_camera" 310 android:configChanges="orientation|screenSize|keyboardHidden" 311 android:clearTaskOnLaunch="true" 312 android:windowSoftInputMode="stateAlwaysHidden|adjustPan"> 313 <intent-filter> 314 <action android:name="android.media.action.STILL_IMAGE_CAMERA_SECURE" /> 315 <category android:name="android.intent.category.DEFAULT" /> 316 </intent-filter> 317 <intent-filter> 318 <action android:name="android.media.action.IMAGE_CAPTURE_SECURE" /> 319 <category android:name="android.intent.category.DEFAULT" /> 320 </intent-filter> 321 <meta-data android:name="com.android.keyguard.layout" 322 android:resource="@layout/keyguard_widget" /> 323 </activity> 324 325 <activity-alias android:icon="@mipmap/ic_launcher_camera" 326 android:label="@string/camera_label" 327 android:name="com.android.camera.CameraLauncher" 328 android:targetActivity="com.android.camera.CameraActivity" > 329 <intent-filter> 330 <action android:name="android.intent.action.MAIN" /> 331 <category android:name="android.intent.category.DEFAULT" /> 332 <category android:name="android.intent.category.LAUNCHER" /> 333 </intent-filter> 334 </activity-alias> 335 336 <activity-alias android:icon="@mipmap/ic_launcher_camera" 337 android:label="@string/camera_label" 338 android:name="com.android.camera.Camera" 339 android:targetActivity="com.android.camera.CameraActivity" > 340 <intent-filter> 341 <action android:name="android.intent.action.MAIN" /> 342 <category android:name="android.intent.category.DEFAULT" /> 343 </intent-filter> 344 </activity-alias> 345 346 <activity-alias android:icon="@mipmap/ic_launcher_video_camera" 347 android:label="@string/video_camera_label" 348 android:name="com.android.camera.VideoCamera" 349 android:targetActivity="com.android.camera.CameraActivity" > 350 <intent-filter> 351 <action android:name="android.media.action.VIDEO_CAMERA" /> 352 <category android:name="android.intent.category.DEFAULT" /> 353 </intent-filter> 354 <intent-filter> 355 <action android:name="android.media.action.VIDEO_CAPTURE" /> 356 <category android:name="android.intent.category.DEFAULT" /> 357 </intent-filter> 358 </activity-alias> 359 360 <receiver android:name="com.android.gallery3d.gadget.PhotoAppWidgetProvider" 361 android:label="@string/appwidget_title"> 362 <intent-filter> 363 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> 364 </intent-filter> 365 <meta-data android:name="android.appwidget.provider" 366 android:resource="@xml/widget_info" /> 367 </receiver> 368 <receiver android:name="com.android.gallery3d.app.PackagesMonitor"> 369 <intent-filter> 370 <action android:name="android.intent.action.PACKAGE_ADDED"/> 371 <action android:name="android.intent.action.PACKAGE_REMOVED"/> 372 <action android:name="android.intent.action.PACKAGE_CHANGED"/> 373 <data android:scheme="package"/> 374 </intent-filter> 375 </receiver> 376 <service android:name="com.android.gallery3d.app.PackagesMonitor$AsyncService"/> 377 <receiver android:name="com.android.camera.CameraButtonIntentReceiver"> 378 <intent-filter> 379 <action android:name="android.intent.action.CAMERA_BUTTON"/> 380 </intent-filter> 381 </receiver> 382 <receiver android:name="com.android.camera.DisableCameraReceiver"> 383 <intent-filter> 384 <action android:name="android.intent.action.BOOT_COMPLETED" /> 385 </intent-filter> 386 </receiver> 387 <service android:name="com.android.gallery3d.gadget.WidgetService" 388 android:permission="android.permission.BIND_REMOTEVIEWS"/> 389 <activity android:name="com.android.gallery3d.gadget.WidgetConfigure" 390 android:configChanges="keyboardHidden|orientation|screenSize" 391 android:theme="@style/android:Theme.Translucent.NoTitleBar"> 392 <intent-filter> 393 <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" /> 394 </intent-filter> 395 </activity> 396 <activity android:name="com.android.camera.ProxyLauncher" 397 android:theme="@style/Theme.ProxyLauncher"> 398 </activity> 399 </application> 400</manifest> 401