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="1000" /> 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.INTERNET" /> 19 <uses-permission android:name="android.permission.NFC" /> 20 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" /> 21 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> 22 <uses-permission android:name="android.permission.RECORD_AUDIO" /> 23 <uses-permission android:name="android.permission.SET_WALLPAPER" /> 24 <uses-permission android:name="android.permission.SUBSCRIBED_FEEDS_READ" /> 25 <uses-permission android:name="android.permission.SUBSCRIBED_FEEDS_WRITE" /> 26 <uses-permission android:name="android.permission.USE_CREDENTIALS" /> 27 <uses-permission android:name="android.permission.VIBRATE" /> 28 <uses-permission android:name="android.permission.WAKE_LOCK" /> 29 <uses-permission android:name="android.permission.WRITE_SETTINGS" /> 30 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" /> 31 32 <supports-screens 33 android:anyDensity="true" 34 android:largeScreens="true" 35 android:normalScreens="true" 36 android:smallScreens="false" /> 37 38 <application 39 android:name="com.android.camera.app.CameraApp" 40 android:hardwareAccelerated="true" 41 android:icon="@mipmap/logo_camera_color" 42 android:label="@string/app_name" 43 android:largeHeap="true" 44 android:resizeableActivity="false" 45 android:restoreAnyVersion="true" 46 android:supportsRtl="true" 47 android:theme="@style/Theme.Camera" 48 android:usesCleartextTraffic="false" > 49 <activity 50 android:name="com.android.camera.CameraActivity" 51 android:clearTaskOnLaunch="true" 52 android:configChanges="orientation|screenSize|keyboardHidden" 53 android:label="@string/app_name" 54 android:launchMode="singleTask" 55 android:taskAffinity="com.android.camera.CameraActivity" 56 android:theme="@style/Theme.Camera" 57 android:exported="true" 58 android:windowSoftInputMode="stateAlwaysHidden|adjustPan" > 59 <intent-filter> 60 <action android:name="android.media.action.STILL_IMAGE_CAMERA" /> 61 <category android:name="android.intent.category.DEFAULT" /> 62 </intent-filter> 63 <intent-filter> 64 <action android:name="android.intent.action.MAIN" /> 65 <category android:name="android.intent.category.DEFAULT" /> 66 </intent-filter> 67 68 <meta-data 69 android:name="com.android.keyguard.layout" 70 android:resource="@layout/keyguard_widget" /> 71 </activity> 72 73 <activity 74 android:name="com.android.camera.PermissionsActivity" 75 android:label="@string/app_name" 76 android:excludeFromRecents="true" 77 android:parentActivityName="com.android.camera.CameraActivity" > 78 <meta-data 79 android:name="android.support.PARENT_ACTIVITY" 80 android:value="com.android.camera.CameraActivity" /> 81 </activity> 82 83 <activity-alias 84 android:name="com.android.camera.CameraLauncher" 85 android:label="@string/app_name" 86 android:exported="true" 87 android:targetActivity="com.android.camera.CameraActivity"> 88 <intent-filter> 89 <action android:name="android.intent.action.MAIN" /> 90 91 <category android:name="android.intent.category.DEFAULT" /> 92 <category android:name="android.intent.category.LAUNCHER" /> 93 </intent-filter> 94 </activity-alias> 95 96 <activity 97 android:name="com.android.camera.CaptureActivity" 98 android:label="@string/app_name" 99 android:theme="@style/Theme.Camera" 100 android:configChanges="orientation|screenSize|keyboardHidden" 101 android:windowSoftInputMode="stateAlwaysHidden|adjustPan" 102 android:exported="true" 103 android:visibleToInstantApps="true"> 104 <intent-filter> 105 <action android:name="android.media.action.IMAGE_CAPTURE" /> 106 <category android:name="android.intent.category.DEFAULT" /> 107 </intent-filter> 108 </activity> 109 110 <!-- Video camera and capture use the Camcorder label and icon. --> 111 <activity-alias 112 android:name="com.android.camera.VideoCamera" 113 android:label="@string/video_camera_label" 114 android:exported="true" 115 android:targetActivity="com.android.camera.CaptureActivity"> 116 <intent-filter> 117 <action android:name="android.media.action.VIDEO_CAMERA" /> 118 <category android:name="android.intent.category.DEFAULT" /> 119 </intent-filter> 120 <intent-filter> 121 <action android:name="android.media.action.VIDEO_CAPTURE" /> 122 <category android:name="android.intent.category.DEFAULT" /> 123 </intent-filter> 124 </activity-alias> 125 126 <activity 127 android:name="com.android.camera.SecureCameraActivity" 128 android:clearTaskOnLaunch="true" 129 android:configChanges="orientation|screenSize|keyboardHidden" 130 android:excludeFromRecents="true" 131 android:label="@string/app_name" 132 android:taskAffinity="com.android.camera.SecureCameraActivity" 133 android:theme="@style/Theme.SecureCamera" 134 android:exported="true" 135 android:windowSoftInputMode="stateAlwaysHidden|adjustPan" > 136 <intent-filter> 137 <action android:name="android.media.action.STILL_IMAGE_CAMERA_SECURE" /> 138 139 <category android:name="android.intent.category.DEFAULT" /> 140 </intent-filter> 141 <intent-filter> 142 <action android:name="android.media.action.IMAGE_CAPTURE_SECURE" /> 143 144 <category android:name="android.intent.category.DEFAULT" /> 145 </intent-filter> 146 147 <meta-data 148 android:name="com.android.keyguard.layout" 149 android:resource="@layout/keyguard_widget" /> 150 </activity> 151 152 <activity 153 android:name="com.android.camera.settings.CameraSettingsActivity" 154 android:label="@string/mode_settings" 155 android:theme="@style/Theme.CameraSettings" 156 android:configChanges="keyboardHidden|orientation|screenSize"> 157 </activity> 158 159 <receiver android:name="com.android.camera.SetActivitiesCameraReceiver" 160 android:exported="true"> 161 <intent-filter> 162 <action android:name="android.intent.action.BOOT_COMPLETED" /> 163 </intent-filter> 164 </receiver> 165 </application> 166 167</manifest> 168