Home | History | Annotate | Download | only in Gallery2
      1 <?xml version="1.0" encoding="utf-8"?>
      2 
      3 <manifest android:versionCode="30682"
      4         android:versionName="1.1.30682"
      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-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
     11     <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
     12     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
     13     <uses-permission android:name="android.permission.GET_ACCOUNTS" />
     14     <uses-permission android:name="android.permission.INTERNET" />
     15     <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
     16     <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
     17     <uses-permission android:name="android.permission.SET_WALLPAPER" />
     18     <uses-permission android:name="android.permission.USE_CREDENTIALS" />
     19     <uses-permission android:name="android.permission.VIBRATE" />
     20     <uses-permission android:name="android.permission.WAKE_LOCK" />
     21     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
     22     <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
     23     <uses-permission android:name="android.permission.WRITE_SETTINGS" />
     24 
     25     <supports-screens android:smallScreens="false"
     26             android:normalScreens="true" android:largeScreens="true"
     27             android:anyDensity="true" />
     28 
     29     <application android:icon="@mipmap/ic_launcher_gallery" android:label="@string/app_name"
     30             android:name="com.android.gallery3d.app.GalleryAppImpl"
     31             android:theme="@style/Theme.Gallery">
     32         <activity android:name="com.android.gallery3d.app.MovieActivity"
     33                 android:label="@string/movie_view_label"
     34                 android:configChanges="orientation|keyboardHidden|screenSize">
     35             <intent-filter>
     36                 <action android:name="android.intent.action.VIEW" />
     37                 <category android:name="android.intent.category.DEFAULT" />
     38                 <category android:name="android.intent.category.BROWSABLE" />
     39                 <data android:scheme="rtsp" />
     40              </intent-filter>
     41              <intent-filter>
     42                 <action android:name="android.intent.action.VIEW" />
     43                 <category android:name="android.intent.category.DEFAULT" />
     44                 <category android:name="android.intent.category.BROWSABLE" />
     45                 <data android:scheme="http" />
     46                 <data android:scheme="https" />
     47                 <data android:scheme="content" />
     48                 <data android:scheme="file" />
     49                 <data android:mimeType="video/mpeg4" />
     50                 <data android:mimeType="video/mp4" />
     51                 <data android:mimeType="video/3gp" />
     52                 <data android:mimeType="video/3gpp" />
     53                 <data android:mimeType="video/3gpp2" />
     54                 <data android:mimeType="video/webm" />
     55                 <data android:mimeType="application/sdp" />
     56              </intent-filter>
     57              <intent-filter>
     58                 !-- HTTP live support -->
     59                 <action android:name="android.intent.action.VIEW" />
     60                 <category android:name="android.intent.category.DEFAULT" />
     61                 <category android:name="android.intent.category.BROWSABLE" />
     62                 <data android:scheme="http" />
     63                 <data android:mimeType="audio/x-mpegurl" />
     64                 <data android:mimeType="audio/mpegurl" />
     65                 <data android:mimeType="application/vnd.apple.mpegurl" />
     66                 <data android:mimeType="application/x-mpegurl" />
     67              </intent-filter>
     68         </activity>
     69 
     70         <activity android:name="com.android.gallery3d.app.Gallery" android:label="@string/app_name"
     71                 android:configChanges="keyboardHidden|orientation|screenSize">
     72             <intent-filter>
     73                 <action android:name="android.intent.action.MAIN" />
     74                 <category android:name="android.intent.category.LAUNCHER" />
     75             </intent-filter>
     76             <intent-filter>
     77                 <action android:name="android.intent.action.GET_CONTENT" />
     78                 <category android:name="android.intent.category.OPENABLE" />
     79                 <data android:mimeType="vnd.android.cursor.dir/image" />
     80             </intent-filter>
     81             <intent-filter>
     82                 <action android:name="android.intent.action.GET_CONTENT" />
     83                 <category android:name="android.intent.category.OPENABLE" />
     84                 <category android:name="android.intent.category.DEFAULT" />
     85                 <data android:mimeType="image/*" />
     86                 <data android:mimeType="video/*" />
     87             </intent-filter>
     88             <intent-filter>
     89                 <action android:name="android.intent.action.VIEW" />
     90                 <category android:name="android.intent.category.DEFAULT" />
     91                 <data android:mimeType="vnd.android.cursor.dir/image" />
     92                 <data android:mimeType="vnd.android.cursor.dir/video" />
     93             </intent-filter>
     94             <intent-filter>
     95                 <action android:name="android.intent.action.VIEW" />
     96                 <action android:name="com.android.camera.action.REVIEW" />
     97                 <category android:name="android.intent.category.DEFAULT" />
     98                 <category android:name="android.intent.category.BROWSABLE" />
     99                 <data android:scheme="" />
    100                 <data android:scheme="http" />
    101                 <data android:scheme="https" />
    102                 <data android:scheme="content" />
    103                 <data android:scheme="file" />
    104                 <data android:mimeType="image/bmp" />
    105                 <data android:mimeType="image/jpeg" />
    106                 <data android:mimeType="image/gif" />
    107                 <data android:mimeType="image/png" />
    108                 <data android:mimeType="image/x-ms-bmp" />
    109                 <data android:mimeType="image/vnd.wap.wbmp" />
    110             </intent-filter>
    111             <intent-filter>
    112                 <action android:name="com.android.camera.action.REVIEW" />
    113                 <category android:name="android.intent.category.DEFAULT" />
    114                 <category android:name="android.intent.category.BROWSABLE" />
    115                 <data android:scheme="http" />
    116                 <data android:scheme="https" />
    117                 <data android:scheme="content" />
    118                 <data android:scheme="file" />
    119                 <data android:mimeType="video/mpeg4" />
    120                 <data android:mimeType="video/mp4" />
    121                 <data android:mimeType="video/3gp" />
    122                 <data android:mimeType="video/3gpp" />
    123                 <data android:mimeType="video/3gpp2" />
    124                 <data android:mimeType="application/sdp" />
    125             </intent-filter>
    126             <!-- We do NOT support the PICK intent, we add these intent-filter for
    127                  backward compatibility. Handle it as GET_CONTENT. -->
    128             <intent-filter>
    129                 <action android:name="android.intent.action.PICK" />
    130                 <category android:name="android.intent.category.DEFAULT" />
    131                 <data android:mimeType="image/*" />
    132                 <data android:mimeType="video/*" />
    133             </intent-filter>
    134             <intent-filter>
    135                 <action android:name="android.intent.action.PICK" />
    136                 <category android:name="android.intent.category.DEFAULT" />
    137                 <data android:mimeType="vnd.android.cursor.dir/image" />
    138                 <data android:mimeType="vnd.android.cursor.dir/video" />
    139             </intent-filter>
    140         </activity>
    141 
    142         <!-- we add this activity-alias for shortcut backward compatibility -->
    143         <!-- Note: The alias must put after the target activity -->
    144         <activity-alias android:name="com.cooliris.media.Gallery"
    145                 android:targetActivity="com.android.gallery3d.app.Gallery"
    146                 android:configChanges="keyboardHidden|orientation|screenSize"
    147                 android:label="string/app_name">
    148             <intent-filter>
    149                 <action android:name="android.intent.action.MAIN" />
    150             </intent-filter>
    151         </activity-alias>
    152 
    153         <!-- This activity receives USB_DEVICE_ATTACHED Intents and springboards to main Gallery activity. -->
    154         <activity android:name="com.android.gallery3d.app.UsbDeviceActivity" android:label="@string/app_name"
    155                 android:taskAffinity=""
    156                 android:launchMode="singleInstance">
    157             <intent-filter>
    158                 <action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />
    159             </intent-filter>
    160             <meta-data android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED"
    161                 android:resource="@xml/device_filter" />
    162         </activity>
    163 
    164         <activity android:name="com.android.gallery3d.app.Wallpaper"
    165                 android:configChanges="keyboardHidden|orientation|screenSize"
    166                 android:theme="@style/android:Theme.Translucent.NoTitleBar">
    167             <intent-filter android:label="@string/camera_setas_wallpaper">
    168                 <action android:name="android.intent.action.ATTACH_DATA" />
    169                 <data android:mimeType="image/*" />
    170                 <category android:name="android.intent.category.DEFAULT" />
    171             </intent-filter>
    172             <intent-filter android:label="@string/app_name">
    173                 <action android:name="android.intent.action.SET_WALLPAPER" />
    174                 <category android:name="android.intent.category.DEFAULT" />
    175             </intent-filter>
    176             <meta-data android:name="android.wallpaper.preview"
    177                     android:resource="@xml/wallpaper_picker_preview" />
    178         </activity>
    179         <activity android:name="com.android.gallery3d.app.CropImage"
    180                 android:configChanges="keyboardHidden|orientation|screenSize"
    181                 android:label="@string/crop_label"
    182                 android:process=":crop">
    183             <intent-filter android:label="@string/crop_label">
    184                 <action android:name="com.android.camera.action.CROP" />
    185                 <data android:scheme="http" />
    186                 <data android:scheme="https" />
    187                 <data android:scheme="content" />
    188                 <data android:scheme="file" />
    189                 <data android:scheme="" />
    190                 <data android:mimeType="image/*" />
    191                 <category android:name="android.intent.category.DEFAULT" />
    192                 <category android:name="android.intent.category.ALTERNATIVE" />
    193                 <category android:name="android.intent.category.SELECTED_ALTERNATIVE" />
    194             </intent-filter>
    195         </activity>
    196         <activity android:name="com.android.gallery3d.photoeditor.PhotoEditor"
    197                 android:label="@string/photoeditor_name"
    198                 android:theme="@android:style/Theme.Holo.NoActionBar.Fullscreen"
    199                 android:configChanges="keyboardHidden|orientation|screenSize"
    200                 android:hardwareAccelerated="true">
    201             <intent-filter>
    202                 <action android:name="android.intent.action.EDIT" />
    203                 <data android:mimeType="image/*" />
    204                 <category android:name="android.intent.category.DEFAULT" />
    205             </intent-filter>
    206         </activity>
    207         <uses-library android:name="com.google.android.media.effects"
    208                 android:required="false" />
    209 
    210         <activity android:name="com.android.gallery3d.app.SlideshowDream"
    211                 android:label="@string/slideshow_dream_name"
    212                 android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"
    213                 android:hardwareAccelerated="true">
    214             <intent-filter>
    215                 <action android:name="android.intent.action.MAIN" />
    216                 <category android:name="android.intent.category.DEFAULT" />
    217                 <category android:name="android.intent.category.DREAM" />
    218             </intent-filter>
    219         </activity>
    220 
    221         <activity android:name="com.android.gallery3d.settings.GallerySettings"
    222                 android:theme="@android:style/Theme.Holo"
    223                 android:configChanges="orientation|keyboardHidden|screenSize" />
    224 
    225         <provider android:name="com.android.gallery3d.provider.GalleryProvider"
    226                 android:syncable="false"
    227                 android:grantUriPermissions="true"
    228                 android:authorities="com.android.gallery3d.provider" />
    229         <activity android:name="com.android.gallery3d.gadget.WidgetClickHandler" />
    230         <activity android:name="com.android.gallery3d.app.DialogPicker"
    231                 android:configChanges="keyboardHidden|orientation|screenSize"
    232                 android:theme="@style/DialogPickerTheme"/>
    233         <activity android:name="com.android.gallery3d.app.AlbumPicker"
    234                 android:configChanges="keyboardHidden|orientation|screenSize"
    235                 android:theme="@style/DialogPickerTheme"/>
    236         <activity android:name="com.android.gallery3d.gadget.WidgetTypeChooser"
    237                 android:configChanges="keyboardHidden|orientation|screenSize"
    238                 android:theme="@style/DialogPickerTheme"/>
    239 
    240         <receiver android:name="com.android.gallery3d.gadget.PhotoAppWidgetProvider"
    241                 android:label="@string/appwidget_title">
    242             <intent-filter>
    243                 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
    244             </intent-filter>
    245             <meta-data android:name="android.appwidget.provider"
    246                     android:resource="@xml/widget_info" />
    247         </receiver>
    248         <receiver android:name="com.android.gallery3d.app.PackagesMonitor">
    249             <intent-filter>
    250                 <action android:name="android.intent.action.PACKAGE_ADDED"/>
    251                 <action android:name="android.intent.action.PACKAGE_REMOVED"/>
    252                 <data android:scheme="package"/>
    253             </intent-filter>
    254         </receiver>
    255         <service android:name="com.android.gallery3d.gadget.WidgetService"
    256                 android:permission="android.permission.BIND_REMOTEVIEWS"/>
    257         <activity android:name="com.android.gallery3d.gadget.WidgetConfigure"
    258                 android:configChanges="keyboardHidden|orientation|screenSize"
    259                 android:theme="@style/android:Theme.Translucent.NoTitleBar">
    260             <intent-filter>
    261                 <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
    262             </intent-filter>
    263         </activity>
    264     </application>
    265 </manifest>
    266