Angus Kong | b50b5cb | 2013-08-09 14:55:20 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 3 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
Sascha Haeberling | 3023993 | 2013-08-28 14:51:53 -0700 | [diff] [blame] | 4 | package="com.android.camera2"> |
Owen Lin | b540ef1 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 5 | |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 6 | <uses-sdk |
| 7 | android:minSdkVersion="14" |
| 8 | android:targetSdkVersion="17" /> |
Owen Lin | 5d64c7d | 2012-10-16 10:22:54 +0800 | [diff] [blame] | 9 | |
Owen Lin | b540ef1 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 10 | <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> |
| 11 | <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> |
| 12 | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |
Chih-Chung Chang | 0073943 | 2012-03-08 20:10:53 +0800 | [diff] [blame] | 13 | <uses-permission android:name="android.permission.CAMERA" /> |
Owen Lin | b540ef1 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 14 | <uses-permission android:name="android.permission.GET_ACCOUNTS" /> |
| 15 | <uses-permission android:name="android.permission.INTERNET" /> |
| 16 | <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" /> |
Martijn Coenen | a453f33 | 2012-03-26 18:25:50 -0700 | [diff] [blame] | 17 | <uses-permission android:name="android.permission.NFC" /> |
Owen Lin | b540ef1 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 18 | <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" /> |
Chih-Chung Chang | 4f19a07 | 2012-03-12 16:04:59 +0800 | [diff] [blame] | 19 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
Chih-Chung Chang | 0073943 | 2012-03-08 20:10:53 +0800 | [diff] [blame] | 20 | <uses-permission android:name="android.permission.RECORD_AUDIO" /> |
Owen Lin | b540ef1 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 21 | <uses-permission android:name="android.permission.SET_WALLPAPER" /> |
| 22 | <uses-permission android:name="android.permission.USE_CREDENTIALS" /> |
| 23 | <uses-permission android:name="android.permission.VIBRATE" /> |
| 24 | <uses-permission android:name="android.permission.WAKE_LOCK" /> |
| 25 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
Owen Lin | b540ef1 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 26 | <uses-permission android:name="android.permission.WRITE_SETTINGS" /> |
Chih-Chung Chang | 0073943 | 2012-03-08 20:10:53 +0800 | [diff] [blame] | 27 | <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" /> |
Owen Lin | b540ef1 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 28 | |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 29 | <supports-screens |
| 30 | android:anyDensity="true" |
| 31 | android:largeScreens="true" |
| 32 | android:normalScreens="true" |
| 33 | android:smallScreens="false" /> |
Owen Lin | b540ef1 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 34 | |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 35 | <application |
| 36 | android:name="com.android.camera.app.CameraApp" |
| 37 | android:backupAgent="com.android.camera.CameraBackupAgent" |
| 38 | android:hardwareAccelerated="true" |
| 39 | android:icon="@mipmap/ic_launcher_camera" |
Sascha Haeberling | 26145e5 | 2013-09-03 17:02:11 -0700 | [diff] [blame] | 40 | android:label="@string/app_name" |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 41 | android:largeHeap="true" |
| 42 | android:logo="@mipmap/ic_launcher_camera" |
| 43 | android:restoreAnyVersion="true" |
| 44 | android:theme="@style/Theme.Camera" > |
nicolasroard | b4f1161 | 2012-09-27 12:20:11 -0700 | [diff] [blame] | 45 | <activity |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 46 | android:name="com.android.camera.CameraActivity" |
| 47 | android:clearTaskOnLaunch="true" |
| 48 | android:configChanges="orientation|screenSize|keyboardHidden" |
| 49 | android:icon="@mipmap/ic_launcher_camera" |
Sascha Haeberling | 26145e5 | 2013-09-03 17:02:11 -0700 | [diff] [blame] | 50 | android:label="@string/app_name" |
Mangesh Ghiware | 5df64b0 | 2013-09-18 18:25:26 -0700 | [diff] [blame] | 51 | android:logo="@mipmap/ic_launcher_gallery" |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 52 | android:taskAffinity="com.android.camera.CameraActivity" |
| 53 | android:theme="@style/Theme.Camera" |
| 54 | android:windowSoftInputMode="stateAlwaysHidden|adjustPan" > |
Michael Kolb | 645cf9f | 2012-09-10 15:14:56 -0700 | [diff] [blame] | 55 | <intent-filter> |
Mangesh Ghiware | 9b12d9f | 2012-09-14 12:17:54 -0700 | [diff] [blame] | 56 | <action android:name="android.media.action.IMAGE_CAPTURE" /> |
| 57 | <category android:name="android.intent.category.DEFAULT" /> |
| 58 | </intent-filter> |
| 59 | <intent-filter> |
Mangesh Ghiware | a03ff6f | 2012-09-14 00:10:41 -0700 | [diff] [blame] | 60 | <action android:name="android.media.action.STILL_IMAGE_CAMERA" /> |
Doris Liu | 2a7f44c | 2013-08-12 15:18:53 -0700 | [diff] [blame] | 61 | <category android:name="android.intent.category.DEFAULT" /> |
| 62 | </intent-filter> |
Mangesh Ghiware | 3964082 | 2013-08-16 16:49:32 -0700 | [diff] [blame] | 63 | <intent-filter> |
| 64 | <action android:name="android.intent.action.MAIN" /> |
| 65 | <category android:name="android.intent.category.DEFAULT" /> |
| 66 | </intent-filter> |
Mangesh Ghiware | acd4e11 | 2013-08-13 17:10:58 -0700 | [diff] [blame] | 67 | |
| 68 | <meta-data |
| 69 | android:name="com.android.keyguard.layout" |
| 70 | android:resource="@layout/keyguard_widget" /> |
| 71 | </activity> |
| 72 | |
| 73 | <activity-alias |
| 74 | android:name="com.android.camera.CameraLauncher" |
| 75 | android:icon="@mipmap/ic_launcher_camera" |
Sascha Haeberling | 26145e5 | 2013-09-03 17:02:11 -0700 | [diff] [blame] | 76 | android:label="@string/app_name" |
Mangesh Ghiware | acd4e11 | 2013-08-13 17:10:58 -0700 | [diff] [blame] | 77 | android:targetActivity="com.android.camera.CameraActivity"> |
Doris Liu | 2a7f44c | 2013-08-12 15:18:53 -0700 | [diff] [blame] | 78 | <intent-filter> |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 79 | <action android:name="android.intent.action.MAIN" /> |
Mangesh Ghiware | a03ff6f | 2012-09-14 00:10:41 -0700 | [diff] [blame] | 80 | |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 81 | <category android:name="android.intent.category.DEFAULT" /> |
| 82 | <category android:name="android.intent.category.LAUNCHER" /> |
| 83 | </intent-filter> |
Mangesh Ghiware | acd4e11 | 2013-08-13 17:10:58 -0700 | [diff] [blame] | 84 | </activity-alias> |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 85 | |
Mangesh Ghiware | f32062e | 2013-09-25 14:46:30 -0700 | [diff] [blame] | 86 | <!-- Video camera and capture use the Camcorder label and icon. --> |
| 87 | <activity-alias |
| 88 | android:name="com.android.camera.VideoCamera" |
| 89 | android:icon="@mipmap/ic_launcher_video_camera" |
| 90 | android:label="@string/video_camera_label" |
| 91 | android:targetActivity="com.android.camera.CameraActivity"> |
| 92 | <intent-filter> |
| 93 | <action android:name="android.media.action.VIDEO_CAMERA" /> |
| 94 | <category android:name="android.intent.category.DEFAULT" /> |
| 95 | </intent-filter> |
| 96 | <intent-filter> |
| 97 | <action android:name="android.media.action.VIDEO_CAPTURE" /> |
| 98 | <category android:name="android.intent.category.DEFAULT" /> |
| 99 | </intent-filter> |
| 100 | </activity-alias> |
| 101 | |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 102 | <activity |
| 103 | android:name="com.android.camera.SecureCameraActivity" |
| 104 | android:clearTaskOnLaunch="true" |
| 105 | android:configChanges="orientation|screenSize|keyboardHidden" |
| 106 | android:excludeFromRecents="true" |
| 107 | android:icon="@mipmap/ic_launcher_camera" |
Sascha Haeberling | 26145e5 | 2013-09-03 17:02:11 -0700 | [diff] [blame] | 108 | android:label="@string/app_name" |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 109 | android:taskAffinity="com.android.camera.SecureCameraActivity" |
| 110 | android:theme="@style/Theme.Camera" |
| 111 | android:windowSoftInputMode="stateAlwaysHidden|adjustPan" > |
Wu-cheng Li | c7e76d5 | 2012-09-17 17:32:59 +0800 | [diff] [blame] | 112 | <intent-filter> |
| 113 | <action android:name="android.media.action.STILL_IMAGE_CAMERA_SECURE" /> |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 114 | |
Wu-cheng Li | c7e76d5 | 2012-09-17 17:32:59 +0800 | [diff] [blame] | 115 | <category android:name="android.intent.category.DEFAULT" /> |
| 116 | </intent-filter> |
Wu-cheng Li | fb5c812 | 2012-09-25 11:20:27 +0800 | [diff] [blame] | 117 | <intent-filter> |
| 118 | <action android:name="android.media.action.IMAGE_CAPTURE_SECURE" /> |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 119 | |
Wu-cheng Li | fb5c812 | 2012-09-25 11:20:27 +0800 | [diff] [blame] | 120 | <category android:name="android.intent.category.DEFAULT" /> |
| 121 | </intent-filter> |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 122 | |
| 123 | <meta-data |
| 124 | android:name="com.android.keyguard.layout" |
| 125 | android:resource="@layout/keyguard_widget" /> |
Wu-cheng Li | c7e76d5 | 2012-09-17 17:32:59 +0800 | [diff] [blame] | 126 | </activity> |
| 127 | |
nicolasroard | 19ab725 | 2013-09-18 16:54:05 -0700 | [diff] [blame] | 128 | <activity |
| 129 | android:name="com.android.camera.crop.CropActivity" |
Sascha Haeberling | c4aa7c0 | 2013-09-30 14:12:39 -0700 | [diff] [blame] | 130 | android:label="@string/crop_action" |
nicolasroard | 19ab725 | 2013-09-18 16:54:05 -0700 | [diff] [blame] | 131 | android:theme="@style/Theme.Crop" |
| 132 | android:configChanges="keyboardHidden|orientation|screenSize"> |
nicolasroard | 19ab725 | 2013-09-18 16:54:05 -0700 | [diff] [blame] | 133 | </activity> |
| 134 | |
Mangesh Ghiware | 0270ab7 | 2013-08-14 11:03:39 -0700 | [diff] [blame] | 135 | <receiver android:name="com.android.camera.DisableCameraReceiver"> |
| 136 | <intent-filter> |
| 137 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| 138 | </intent-filter> |
| 139 | </receiver> |
| 140 | |
Angus Kong | f4bfce2 | 2013-01-29 17:43:48 -0800 | [diff] [blame] | 141 | <service android:name="com.android.camera.MediaSaveService" /> |
Owen Lin | b540ef1 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 142 | </application> |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 143 | |
Angus Kong | b50b5cb | 2013-08-09 14:55:20 -0700 | [diff] [blame] | 144 | </manifest> |