Home | History | Annotate | Download | only in Camera2
      1 <?xml version="1.0" encoding="utf-8"?>
      2 
      3 <manifest
      4     xmlns:android="http://schemas.android.com/apk/res/android"
      5     package="com.android.camera2">
      6 
      7     <uses-sdk
      8         android:minSdkVersion="19"
      9         android:targetSdkVersion="21" />
     10 
     11     <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
     12     <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
     13     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
     14     <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
     15     <uses-permission android:name="android.permission.BIND_WALLPAPER" />
     16     <uses-permission android:name="android.permission.CAMERA" />
     17     <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
     18     <uses-permission android:name="android.permission.GET_ACCOUNTS" />
     19     <uses-permission android:name="android.permission.INTERNET" />
     20     <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
     21     <uses-permission android:name="android.permission.NFC" />
     22     <uses-permission android:name="android.permission.READ_CONTACTS" />
     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.SUBSCRIBED_FEEDS_READ" />
     28     <uses-permission android:name="android.permission.SUBSCRIBED_FEEDS_WRITE" />
     29     <uses-permission android:name="android.permission.USE_CREDENTIALS" />
     30     <uses-permission android:name="android.permission.VIBRATE" />
     31     <uses-permission android:name="android.permission.WAKE_LOCK" />
     32     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
     33     <uses-permission android:name="android.permission.WRITE_SETTINGS" />
     34     <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
     35 
     36     <supports-screens
     37         android:anyDensity="true"
     38         android:largeScreens="true"
     39         android:normalScreens="true"
     40         android:smallScreens="false" />
     41 
     42     <application
     43         android:name="com.android.camera.app.CameraApp"
     44         android:hardwareAccelerated="true"
     45         android:icon="@mipmap/logo_camera_color_44in48dp"
     46         android:label="@string/app_name"
     47         android:largeHeap="true"
     48         android:restoreAnyVersion="true"
     49         android:supportsRtl="true"
     50         android:theme="@style/Theme.Camera" >
     51         <activity
     52             android:name="com.android.camera.CameraActivity"
     53             android:clearTaskOnLaunch="true"
     54             android:configChanges="orientation|screenSize|keyboardHidden"
     55             android:label="@string/app_name"
     56             android:taskAffinity="com.android.camera.CameraActivity"
     57             android:theme="@style/Theme.Camera"
     58             android:windowSoftInputMode="stateAlwaysHidden|adjustPan" >
     59             <intent-filter>
     60                 <action android:name="android.media.action.IMAGE_CAPTURE" />
     61                 <category android:name="android.intent.category.DEFAULT" />
     62             </intent-filter>
     63             <intent-filter>
     64                 <action android:name="android.media.action.STILL_IMAGE_CAMERA" />
     65                 <category android:name="android.intent.category.DEFAULT" />
     66             </intent-filter>
     67             <intent-filter>
     68                 <action android:name="android.intent.action.MAIN" />
     69                 <category android:name="android.intent.category.DEFAULT" />
     70             </intent-filter>
     71 
     72             <meta-data
     73                 android:name="com.android.keyguard.layout"
     74                 android:resource="@layout/keyguard_widget" />
     75         </activity>
     76 
     77         <activity-alias
     78             android:name="com.android.camera.CameraLauncher"
     79             android:label="@string/app_name"
     80             android:targetActivity="com.android.camera.CameraActivity">
     81             <intent-filter>
     82                 <action android:name="android.intent.action.MAIN" />
     83 
     84                 <category android:name="android.intent.category.DEFAULT" />
     85                 <category android:name="android.intent.category.LAUNCHER" />
     86             </intent-filter>
     87         </activity-alias>
     88 
     89         <!-- Video camera and capture use the Camcorder label and icon. -->
     90         <activity-alias
     91             android:name="com.android.camera.VideoCamera"
     92             android:label="@string/video_camera_label"
     93             android:targetActivity="com.android.camera.CameraActivity">
     94             <intent-filter>
     95                 <action android:name="android.media.action.VIDEO_CAMERA" />
     96                 <category android:name="android.intent.category.DEFAULT" />
     97             </intent-filter>
     98             <intent-filter>
     99                 <action android:name="android.media.action.VIDEO_CAPTURE" />
    100                 <category android:name="android.intent.category.DEFAULT" />
    101             </intent-filter>
    102         </activity-alias>
    103 
    104         <activity
    105             android:name="com.android.camera.SecureCameraActivity"
    106             android:clearTaskOnLaunch="true"
    107             android:configChanges="orientation|screenSize|keyboardHidden"
    108             android:excludeFromRecents="true"
    109             android:label="@string/app_name"
    110             android:taskAffinity="com.android.camera.SecureCameraActivity"
    111             android:theme="@style/Theme.Camera"
    112             android:windowSoftInputMode="stateAlwaysHidden|adjustPan" >
    113             <intent-filter>
    114                 <action android:name="android.media.action.STILL_IMAGE_CAMERA_SECURE" />
    115 
    116                 <category android:name="android.intent.category.DEFAULT" />
    117             </intent-filter>
    118             <intent-filter>
    119                 <action android:name="android.media.action.IMAGE_CAPTURE_SECURE" />
    120 
    121                 <category android:name="android.intent.category.DEFAULT" />
    122             </intent-filter>
    123 
    124             <meta-data
    125                 android:name="com.android.keyguard.layout"
    126                 android:resource="@layout/keyguard_widget" />
    127         </activity>
    128 
    129         <activity
    130             android:name="com.android.camera.settings.CameraSettingsActivity"
    131             android:label="@string/mode_settings"
    132             android:theme="@style/Theme.CameraSettings"
    133             android:configChanges="keyboardHidden|orientation|screenSize">
    134         </activity>
    135 
    136         <receiver android:name="com.android.camera.DisableCameraReceiver">
    137             <intent-filter>
    138                 <action android:name="android.intent.action.BOOT_COMPLETED" />
    139             </intent-filter>
    140         </receiver>
    141     </application>
    142 
    143 </manifest>
    144