| <?xml version="1.0" encoding="utf-8"?> |
| |
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| package="com.android.camera2"> |
| |
| <uses-sdk |
| android:minSdkVersion="14" |
| android:targetSdkVersion="17" /> |
| |
| <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> |
| <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> |
| <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |
| <uses-permission android:name="android.permission.CAMERA" /> |
| <uses-permission android:name="android.permission.GET_ACCOUNTS" /> |
| <uses-permission android:name="android.permission.INTERNET" /> |
| <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" /> |
| <uses-permission android:name="android.permission.NFC" /> |
| <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" /> |
| <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
| <uses-permission android:name="android.permission.RECORD_AUDIO" /> |
| <uses-permission android:name="android.permission.SET_WALLPAPER" /> |
| <uses-permission android:name="android.permission.USE_CREDENTIALS" /> |
| <uses-permission android:name="android.permission.VIBRATE" /> |
| <uses-permission android:name="android.permission.WAKE_LOCK" /> |
| <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
| <uses-permission android:name="android.permission.WRITE_SETTINGS" /> |
| <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" /> |
| |
| <supports-screens |
| android:anyDensity="true" |
| android:largeScreens="true" |
| android:normalScreens="true" |
| android:smallScreens="false" /> |
| |
| <application |
| android:name="com.android.camera.app.CameraApp" |
| android:backupAgent="com.android.camera.CameraBackupAgent" |
| android:hardwareAccelerated="true" |
| android:icon="@mipmap/ic_launcher_camera" |
| android:label="@string/app_name" |
| android:largeHeap="true" |
| android:logo="@mipmap/ic_launcher_camera" |
| android:restoreAnyVersion="true" |
| android:theme="@style/Theme.Camera" > |
| <activity |
| android:name="com.android.camera.CameraActivity" |
| android:clearTaskOnLaunch="true" |
| android:configChanges="orientation|screenSize|keyboardHidden" |
| android:icon="@mipmap/ic_launcher_camera" |
| android:label="@string/app_name" |
| android:logo="@mipmap/ic_launcher_gallery" |
| android:taskAffinity="com.android.camera.CameraActivity" |
| android:theme="@style/Theme.Camera" |
| android:windowSoftInputMode="stateAlwaysHidden|adjustPan" > |
| <intent-filter> |
| <action android:name="android.media.action.IMAGE_CAPTURE" /> |
| <category android:name="android.intent.category.DEFAULT" /> |
| </intent-filter> |
| <intent-filter> |
| <action android:name="android.media.action.STILL_IMAGE_CAMERA" /> |
| <category android:name="android.intent.category.DEFAULT" /> |
| </intent-filter> |
| <intent-filter> |
| <action android:name="android.intent.action.MAIN" /> |
| <category android:name="android.intent.category.DEFAULT" /> |
| </intent-filter> |
| |
| <meta-data |
| android:name="com.android.keyguard.layout" |
| android:resource="@layout/keyguard_widget" /> |
| </activity> |
| |
| <activity-alias |
| android:name="com.android.camera.CameraLauncher" |
| android:icon="@mipmap/ic_launcher_camera" |
| android:label="@string/app_name" |
| android:targetActivity="com.android.camera.CameraActivity"> |
| <intent-filter> |
| <action android:name="android.intent.action.MAIN" /> |
| |
| <category android:name="android.intent.category.DEFAULT" /> |
| <category android:name="android.intent.category.LAUNCHER" /> |
| </intent-filter> |
| </activity-alias> |
| |
| <!-- Video camera and capture use the Camcorder label and icon. --> |
| <activity-alias |
| android:name="com.android.camera.VideoCamera" |
| android:icon="@mipmap/ic_launcher_video_camera" |
| android:label="@string/video_camera_label" |
| android:targetActivity="com.android.camera.CameraActivity"> |
| <intent-filter> |
| <action android:name="android.media.action.VIDEO_CAMERA" /> |
| <category android:name="android.intent.category.DEFAULT" /> |
| </intent-filter> |
| <intent-filter> |
| <action android:name="android.media.action.VIDEO_CAPTURE" /> |
| <category android:name="android.intent.category.DEFAULT" /> |
| </intent-filter> |
| </activity-alias> |
| |
| <activity |
| android:name="com.android.camera.SecureCameraActivity" |
| android:clearTaskOnLaunch="true" |
| android:configChanges="orientation|screenSize|keyboardHidden" |
| android:excludeFromRecents="true" |
| android:icon="@mipmap/ic_launcher_camera" |
| android:label="@string/app_name" |
| android:taskAffinity="com.android.camera.SecureCameraActivity" |
| android:theme="@style/Theme.Camera" |
| android:windowSoftInputMode="stateAlwaysHidden|adjustPan" > |
| <intent-filter> |
| <action android:name="android.media.action.STILL_IMAGE_CAMERA_SECURE" /> |
| |
| <category android:name="android.intent.category.DEFAULT" /> |
| </intent-filter> |
| <intent-filter> |
| <action android:name="android.media.action.IMAGE_CAPTURE_SECURE" /> |
| |
| <category android:name="android.intent.category.DEFAULT" /> |
| </intent-filter> |
| |
| <meta-data |
| android:name="com.android.keyguard.layout" |
| android:resource="@layout/keyguard_widget" /> |
| </activity> |
| |
| <activity |
| android:name="com.android.camera.crop.CropActivity" |
| android:label="@string/crop" |
| android:theme="@style/Theme.Crop" |
| android:configChanges="keyboardHidden|orientation|screenSize"> |
| </activity> |
| |
| <receiver android:name="com.android.camera.DisableCameraReceiver"> |
| <intent-filter> |
| <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| </intent-filter> |
| </receiver> |
| |
| <service android:name="com.android.camera.MediaSaveService" /> |
| </application> |
| |
| </manifest> |