Home | History | Annotate | Download | only in Camera
      1 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
      2         package="com.android.camera"
      3         android:versionCode="1"
      4         android:versionName="1"
      5         >
      6 
      7     <original-package android:name="com.android.camera" />
      8 
      9     <uses-permission android:name="android.permission.CAMERA" />
     10     <uses-feature android:name="android.hardware.camera" />
     11     <uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />
     12 
     13     <uses-permission android:name="android.permission.RECORD_AUDIO" />
     14     <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
     15     <uses-permission android:name="android.permission.WAKE_LOCK" />
     16     <uses-permission android:name="android.permission.SET_WALLPAPER" />
     17     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
     18     <uses-permission android:name="android.permission.READ_SMS" />
     19 
     20     <application android:icon="@mipmap/ic_launcher_camera"
     21             android:name="com.android.camera.CameraAppImpl"
     22             android:label="@string/camera_label"
     23             android:taskAffinity=""
     24             android:theme="@style/ThemeCamera"
     25             android:hardwareAccelerated="true">
     26         <uses-library android:name="com.google.android.media.effects" android:required="false" />
     27         <receiver android:name="com.android.camera.CameraButtonIntentReceiver">
     28             <intent-filter>
     29                 <action android:name="android.intent.action.CAMERA_BUTTON"/>
     30             </intent-filter>
     31         </receiver>
     32         <activity android:name="com.android.camera.Camera"
     33                 android:configChanges="orientation|screenSize|keyboardHidden"
     34                 android:screenOrientation="landscape"
     35                 android:clearTaskOnLaunch="true"
     36                 android:windowSoftInputMode="stateAlwaysHidden|adjustPan">
     37             <intent-filter>
     38                 <action android:name="android.intent.action.MAIN" />
     39                 <category android:name="android.intent.category.DEFAULT" />
     40                 <category android:name="android.intent.category.LAUNCHER" />
     41             </intent-filter>
     42             <intent-filter>
     43                 <action android:name="android.media.action.IMAGE_CAPTURE" />
     44                 <category android:name="android.intent.category.DEFAULT" />
     45             </intent-filter>
     46             <intent-filter>
     47                 <action android:name="android.media.action.STILL_IMAGE_CAMERA" />
     48                 <category android:name="android.intent.category.DEFAULT" />
     49             </intent-filter>
     50         </activity>
     51         <activity android:name="com.android.camera.VideoCamera"
     52                 android:label="@string/video_camera_label"
     53                 android:configChanges="orientation|screenSize|keyboardHidden"
     54                 android:icon="@mipmap/ic_launcher_video_camera"
     55                 android:screenOrientation="landscape"
     56                 android:clearTaskOnLaunch="true"
     57                 android:windowSoftInputMode="stateAlwaysHidden|adjustPan">
     58             <intent-filter>
     59                 <action android:name="android.media.action.VIDEO_CAMERA" />
     60                 <category android:name="android.intent.category.DEFAULT" />
     61             </intent-filter>
     62             <intent-filter>
     63                 <action android:name="android.media.action.VIDEO_CAPTURE" />
     64                 <category android:name="android.intent.category.DEFAULT" />
     65             </intent-filter>
     66         </activity>
     67         <activity android:name="com.android.camera.panorama.PanoramaActivity"
     68                 android:label="@string/pano_dialog_title"
     69                 android:configChanges="orientation|screenSize|keyboardHidden"
     70                 android:screenOrientation="landscape"
     71                 android:clearTaskOnLaunch="true"
     72                 android:windowSoftInputMode="stateAlwaysHidden|adjustPan">
     73         </activity>
     74     </application>
     75 </manifest>
     76 
     77