Home | History | Annotate | Download | only in Gallery2
      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="24" />
     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             usesCleartextHttp="true">
     48         <uses-library android:name="com.google.android.media.effects" android:required="false" />
     49         <uses-library android:name="org.apache.http.legacy" android:required="false" />
     50         <activity android:name="com.android.gallery3d.app.MovieActivity"
     51                 android:label="@string/movie_view_label"
     52                 android:configChanges="orientation|keyboardHidden|screenSize">
     53             <intent-filter>
     54                 <action android:name="android.intent.action.VIEW" />
     55                 <category android:name="android.intent.category.DEFAULT" />
     56                 <category android:name="android.intent.category.BROWSABLE" />
     57                 <data android:scheme="rtsp" />
     58              </intent-filter>
     59              <intent-filter>
     60                 <action android:name="android.intent.action.VIEW" />
     61                 <category android:name="android.intent.category.DEFAULT" />
     62                 <category android:name="android.intent.category.BROWSABLE" />
     63                 <data android:scheme="http" />
     64                 <data android:scheme="https" />
     65                 <data android:scheme="content" />
     66                 <data android:scheme="file" />
     67                 <data android:mimeType="video/mpeg4" />
     68                 <data android:mimeType="video/mp4" />
     69                 <data android:mimeType="video/3gp" />
     70                 <data android:mimeType="video/3gpp" />
     71                 <data android:mimeType="video/3gpp2" />
     72                 <data android:mimeType="video/webm" />
     73                 <data android:mimeType="video/avi" />
     74                 <data android:mimeType="application/sdp" />
     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                 <data android:mimeType="application/sdp" />
    157             </intent-filter>
    158         </activity>
    159 
    160         <!-- This activity acts as a trampoline to the new Gallery activity,
    161              so that existing shortcuts are preserved. -->
    162         <activity android:name="com.android.gallery3d.app.Gallery"
    163             android:theme="@style/android:Theme.NoDisplay">
    164             <intent-filter>
    165                 <action android:name="android.intent.action.MAIN" />
    166                 <category android:name="android.intent.category.DEFAULT" />
    167             </intent-filter>
    168         </activity>
    169 
    170         <!-- we add this activity-alias for shortcut backward compatibility -->
    171         <!-- Note: The alias must put after the target activity -->
    172         <activity-alias android:name="com.cooliris.media.Gallery"
    173                 android:targetActivity="com.android.gallery3d.app.GalleryActivity"
    174                 android:configChanges="keyboardHidden|orientation|screenSize"
    175                 android:label="@string/app_name">
    176             <intent-filter>
    177                 <action android:name="android.intent.action.MAIN" />
    178             </intent-filter>
    179         </activity-alias>
    180 
    181         <!-- This activity acts as a trampoline to the new Camera activity
    182              in com.android.camera2 package, so that existing shortcuts
    183              are preserved. -->
    184         <activity android:name="com.android.camera.CameraActivity"
    185             android:icon="@mipmap/ic_launcher_camera"
    186             android:label="@string/camera_label"
    187             android:taskAffinity="com.android.camera.CameraActivity"
    188             android:theme="@style/android:Theme.NoDisplay" />
    189         <activity-alias android:name="com.android.camera.CameraLauncher"
    190             android:label="@string/camera_label"
    191             android:targetActivity="com.android.camera.CameraActivity">
    192             <intent-filter>
    193                 <action android:name="android.intent.action.MAIN" />
    194                 <category android:name="android.intent.category.DEFAULT" />
    195             </intent-filter>
    196         </activity-alias>
    197 
    198          <!-- This activity receives USB_DEVICE_ATTACHED intents and allows importing
    199          media from attached MTP devices, like cameras and camera phones -->
    200         <activity android:launchMode="singleInstance"
    201             android:taskAffinity="" android:name="com.android.gallery3d.ingest.IngestActivity"
    202             android:configChanges="orientation|screenSize"
    203             android:label="@string/app_name">
    204             <intent-filter>
    205                 <action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />
    206             </intent-filter>
    207             <meta-data android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED"
    208                 android:resource="@xml/device_filter" />
    209         </activity>
    210         <service android:name="com.android.gallery3d.ingest.IngestService" />
    211 
    212         <activity android:name="com.android.gallery3d.app.Wallpaper"
    213                 android:configChanges="keyboardHidden|orientation|screenSize"
    214                 android:theme="@style/android:Theme.Translucent.NoTitleBar">
    215             <intent-filter android:label="@string/camera_setas_wallpaper">
    216                 <action android:name="android.intent.action.ATTACH_DATA" />
    217                 <data android:mimeType="image/*" />
    218                 <category android:name="android.intent.category.DEFAULT" />
    219             </intent-filter>
    220             <intent-filter android:label="@string/app_name">
    221                 <action android:name="android.intent.action.SET_WALLPAPER" />
    222                 <category android:name="android.intent.category.DEFAULT" />
    223             </intent-filter>
    224             <meta-data android:name="android.wallpaper.preview"
    225                     android:resource="@xml/wallpaper_picker_preview" />
    226         </activity>
    227         <activity android:name="com.android.gallery3d.app.TrimVideo"
    228                 android:label="@string/trim_label">
    229             <intent-filter android:label="@string/crop_label">
    230                 <action android:name="com.android.camera.action.TRIM" />
    231                 <category android:name="android.intent.category.DEFAULT" />
    232                 <data android:scheme="content" />
    233                 <data android:scheme="file" />
    234                 <data android:mimeType="video/*" />
    235             </intent-filter>
    236         </activity>
    237 
    238         <provider
    239             android:name="com.android.gallery3d.filtershow.provider.SharedImageProvider"
    240             android:authorities="com.android.gallery3d.filtershow.provider.SharedImageProvider"
    241             android:grantUriPermissions="true"
    242             android:readPermission="com.android.gallery3d.filtershow.permission.READ"
    243             android:writePermission="com.android.gallery3d.filtershow.permission.WRITE" />
    244 
    245         <service
    246                 android:name=".filtershow.pipeline.ProcessingService"
    247                 android:exported="false" />
    248 
    249         <activity
    250             android:name="com.android.gallery3d.filtershow.FilterShowActivity"
    251             android:label="@string/title_activity_filter_show"
    252             android:theme="@style/Theme.FilterShow"
    253             android:configChanges="keyboardHidden|orientation|screenSize">
    254             <intent-filter>
    255                 <action android:name="android.intent.action.EDIT" />
    256                 <category android:name="android.intent.category.DEFAULT" />
    257                 <data android:mimeType="image/*" />
    258             </intent-filter>
    259             <intent-filter>
    260                 <action android:name="action_nextgen_edit" />
    261                 <category android:name="android.intent.category.DEFAULT" />
    262                 <data android:mimeType="image/*" />
    263             </intent-filter>
    264         </activity>
    265 
    266         <activity
    267             android:name="com.android.gallery3d.filtershow.crop.CropActivity"
    268             android:label="@string/crop"
    269             android:theme="@style/Theme.Crop"
    270             android:configChanges="keyboardHidden|orientation|screenSize">
    271            <intent-filter android:label="@string/crop_label">
    272                 <action android:name="com.android.camera.action.CROP" />
    273                 <data android:scheme="content" />
    274                 <data android:scheme="file" />
    275                 <data android:mimeType="image/*" />
    276                 <category android:name="android.intent.category.DEFAULT" />
    277                 <category android:name="android.intent.category.ALTERNATIVE" />
    278                 <category android:name="android.intent.category.SELECTED_ALTERNATIVE" />
    279             </intent-filter>
    280         </activity>
    281 
    282         <uses-library android:name="com.google.android.media.effects"
    283                 android:required="false" />
    284 
    285         <activity android:name="com.android.gallery3d.settings.GallerySettings"
    286                 android:theme="@style/Theme.Gallery"
    287                 android:configChanges="orientation|keyboardHidden|screenSize" />
    288 
    289         <provider android:name="com.android.gallery3d.provider.GalleryProvider"
    290                 android:syncable="false"
    291                 android:grantUriPermissions="true"
    292                 android:exported="true"
    293                 android:permission="com.android.gallery3d.permission.GALLERY_PROVIDER"
    294                 android:authorities="com.android.gallery3d.provider" />
    295         <provider
    296                 android:name="com.android.photos.data.PhotoProvider"
    297                 android:authorities="com.android.gallery3d.photoprovider"
    298                 android:syncable="false"
    299                 android:exported="false"/>
    300         <activity android:name="com.android.gallery3d.gadget.WidgetClickHandler" />
    301         <activity android:name="com.android.gallery3d.app.DialogPicker"
    302                 android:configChanges="keyboardHidden|orientation|screenSize"
    303                 android:theme="@style/DialogPickerTheme"/>
    304         <activity android:name="com.android.gallery3d.app.AlbumPicker"
    305                 android:configChanges="keyboardHidden|orientation|screenSize"
    306                 android:theme="@style/DialogPickerTheme"/>
    307         <activity android:name="com.android.gallery3d.gadget.WidgetTypeChooser"
    308                 android:configChanges="keyboardHidden|orientation|screenSize"
    309                 android:theme="@style/Theme.Gallery.Dialog"/>
    310 
    311         <receiver android:name="com.android.gallery3d.gadget.PhotoAppWidgetProvider"
    312                 android:label="@string/appwidget_title">
    313             <intent-filter>
    314                 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
    315             </intent-filter>
    316             <meta-data android:name="android.appwidget.provider"
    317                     android:resource="@xml/widget_info" />
    318         </receiver>
    319         <receiver android:name="com.android.gallery3d.app.PackagesMonitor">
    320             <intent-filter>
    321                 <action android:name="android.intent.action.PACKAGE_ADDED"/>
    322                 <action android:name="android.intent.action.PACKAGE_REMOVED"/>
    323                 <action android:name="android.intent.action.PACKAGE_CHANGED"/>
    324                 <data android:scheme="package"/>
    325             </intent-filter>
    326         </receiver>
    327         <service android:name="com.android.gallery3d.app.PackagesMonitor$AsyncService"/>
    328         <service android:name="com.android.gallery3d.gadget.WidgetService"
    329                 android:permission="android.permission.BIND_REMOTEVIEWS"/>
    330         <activity android:name="com.android.gallery3d.gadget.WidgetConfigure"
    331                 android:configChanges="keyboardHidden|orientation|screenSize"
    332                 android:theme="@style/android:Theme.Translucent.NoTitleBar">
    333             <intent-filter>
    334                 <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
    335             </intent-filter>
    336         </activity>
    337         <service android:name="com.android.gallery3d.app.BatchService" />
    338 
    339         <receiver android:name="com.android.camera.DisableCameraReceiver">
    340             <intent-filter>
    341                 <action android:name="android.intent.action.BOOT_COMPLETED" />
    342             </intent-filter>
    343         </receiver>
    344 
    345         <service android:name="com.android.camera.MediaSaveService" />
    346     </application>
    347 </manifest>
    348