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" |
Sachin Shah | 89d153b | 2014-08-15 18:36:44 -0700 | [diff] [blame] | 4 | package="org.codeaurora.snapcam"> |
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 |
Byunghun Jeon | 1b30b78 | 2016-02-10 11:47:29 -0800 | [diff] [blame] | 7 | android:minSdkVersion="23" |
Byunghun Jeon | 3618eb7 | 2015-11-17 14:20:30 -0800 | [diff] [blame] | 8 | android:targetSdkVersion="23" /> |
Owen Lin | 5d64c7d | 2012-10-16 10:22:54 +0800 | [diff] [blame] | 9 | |
Jay Wang | 53e8b4a | 2015-11-16 17:55:07 -0800 | [diff] [blame] | 10 | <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" /> |
| 11 | <uses-permission android:name="android.permission.SET_ORIENTATION" /> |
Owen Lin | b540ef1 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 12 | <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> |
| 13 | <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> |
| 14 | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |
Sascha Haeberling | b1e5e38 | 2013-10-02 17:17:29 -0700 | [diff] [blame] | 15 | <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> |
Chih-Chung Chang | 0073943 | 2012-03-08 20:10:53 +0800 | [diff] [blame] | 16 | <uses-permission android:name="android.permission.CAMERA" /> |
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 | 0073943 | 2012-03-08 20:10:53 +0800 | [diff] [blame] | 19 | <uses-permission android:name="android.permission.RECORD_AUDIO" /> |
Owen Lin | b540ef1 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 20 | <uses-permission android:name="android.permission.VIBRATE" /> |
| 21 | <uses-permission android:name="android.permission.WAKE_LOCK" /> |
| 22 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
Santhosh Kumar H E | b2da1c1 | 2014-01-21 19:21:42 +0530 | [diff] [blame] | 23 | <uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE" /> |
Owen Lin | b540ef1 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 24 | <uses-permission android:name="android.permission.WRITE_SETTINGS" /> |
Chih-Chung Chang | 0073943 | 2012-03-08 20:10:53 +0800 | [diff] [blame] | 25 | <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" /> |
likaid | 5edf669 | 2015-03-20 16:05:21 +0800 | [diff] [blame] | 26 | <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" /> |
Camera Software Integration | 488679f | 2015-10-30 10:13:25 -0700 | [diff] [blame] | 27 | <uses-permission android:name="android.permission.MODIFY_AUDIO_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" |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 37 | android:hardwareAccelerated="true" |
| 38 | android:icon="@mipmap/ic_launcher_camera" |
Sachin Shah | 89d153b | 2014-08-15 18:36:44 -0700 | [diff] [blame] | 39 | android:label="@string/snapcam_app_name" |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 40 | android:largeHeap="true" |
| 41 | android:logo="@mipmap/ic_launcher_camera" |
| 42 | android:restoreAnyVersion="true" |
ztenghui | 3ec8d21 | 2013-11-05 15:23:12 -0800 | [diff] [blame] | 43 | android:supportsRtl="true" |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 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" |
Sachin Shah | 89d153b | 2014-08-15 18:36:44 -0700 | [diff] [blame] | 50 | android:label="@string/snapcam_app_name" |
mingwax | 40054fa | 2016-10-11 17:24:39 +0800 | [diff] [blame] | 51 | android:launchMode="singleTask" |
Mangesh Ghiware | 5df64b0 | 2013-09-18 18:25:26 -0700 | [diff] [blame] | 52 | android:logo="@mipmap/ic_launcher_gallery" |
Likai Ding | e2fb5dc | 2015-01-26 10:07:21 +0800 | [diff] [blame] | 53 | android:screenOrientation="portrait" |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 54 | android:taskAffinity="com.android.camera.CameraActivity" |
| 55 | android:theme="@style/Theme.Camera" |
| 56 | android:windowSoftInputMode="stateAlwaysHidden|adjustPan" > |
junjiez | 9eaf38a | 2016-12-23 13:59:39 +0800 | [diff] [blame^] | 57 | <intent-filter> |
| 58 | <action android:name="android.intent.action.MAIN" /> |
| 59 | <category android:name="android.intent.category.LAUNCHER" /> |
| 60 | </intent-filter> |
Mangesh Ghiware | acd4e11 | 2013-08-13 17:10:58 -0700 | [diff] [blame] | 61 | |
| 62 | <meta-data |
| 63 | android:name="com.android.keyguard.layout" |
| 64 | android:resource="@layout/keyguard_widget" /> |
| 65 | </activity> |
| 66 | |
zafir | f6ced59 | 2015-06-29 00:08:22 -0500 | [diff] [blame] | 67 | <activity |
| 68 | android:name="com.android.camera.PermissionsActivity" |
| 69 | android:label="@string/app_name" |
junjiez | 431dab7 | 2016-08-29 16:42:20 +0800 | [diff] [blame] | 70 | android:configChanges="orientation|screenSize|keyboardHidden" |
zafir | f6ced59 | 2015-06-29 00:08:22 -0500 | [diff] [blame] | 71 | android:parentActivityName="com.android.camera.CameraActivity" > |
| 72 | <meta-data |
| 73 | android:name="android.support.PARENT_ACTIVITY" |
| 74 | android:value="com.android.camera.CameraActivity" /> |
| 75 | </activity> |
| 76 | |
Byunghun Jeon | a6038bd | 2016-07-14 11:13:36 -0700 | [diff] [blame] | 77 | <activity |
| 78 | android:theme="@style/Theme.OneUISettings" |
| 79 | android:name="com.android.camera.SettingsActivity" |
| 80 | android:clearTaskOnLaunch="true" |
| 81 | android:configChanges="orientation|screenSize|keyboardHidden" |
| 82 | android:icon="@mipmap/ic_launcher_camera" |
| 83 | android:label="@string/snapcam_app_name" |
| 84 | android:launchMode="singleTop" > |
| 85 | </activity> |
| 86 | |
| 87 | <activity |
| 88 | android:theme="@android:style/Theme.Material.Light.NoActionBar.Fullscreen" |
| 89 | android:name="com.android.camera.SceneModeActivity" |
| 90 | android:clearTaskOnLaunch="true" |
| 91 | android:configChanges="orientation|screenSize|keyboardHidden" |
| 92 | android:icon="@mipmap/ic_launcher_camera" |
| 93 | android:label="@string/snapcam_app_name" |
| 94 | android:launchMode="singleTop" > |
| 95 | </activity> |
| 96 | |
Mangesh Ghiware | acd4e11 | 2013-08-13 17:10:58 -0700 | [diff] [blame] | 97 | <activity-alias |
| 98 | android:name="com.android.camera.CameraLauncher" |
| 99 | android:icon="@mipmap/ic_launcher_camera" |
Sachin Shah | 89d153b | 2014-08-15 18:36:44 -0700 | [diff] [blame] | 100 | android:label="@string/snapcam_app_name" |
Emilian Peev | 8bb2730 | 2014-10-23 11:50:10 +0300 | [diff] [blame] | 101 | android:launchMode="singleTop" |
Mangesh Ghiware | acd4e11 | 2013-08-13 17:10:58 -0700 | [diff] [blame] | 102 | android:targetActivity="com.android.camera.CameraActivity"> |
Doris Liu | 2a7f44c | 2013-08-12 15:18:53 -0700 | [diff] [blame] | 103 | <intent-filter> |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 104 | <action android:name="android.intent.action.MAIN" /> |
Mangesh Ghiware | a03ff6f | 2012-09-14 00:10:41 -0700 | [diff] [blame] | 105 | |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 106 | <category android:name="android.intent.category.DEFAULT" /> |
| 107 | <category android:name="android.intent.category.LAUNCHER" /> |
| 108 | </intent-filter> |
Mangesh Ghiware | acd4e11 | 2013-08-13 17:10:58 -0700 | [diff] [blame] | 109 | </activity-alias> |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 110 | |
junjiez | 9a4e6d0 | 2016-08-05 10:59:39 +0800 | [diff] [blame] | 111 | <activity-alias |
| 112 | android:name="com.android.camera.PhotoCamera" |
| 113 | android:icon="@mipmap/ic_launcher_camera" |
| 114 | android:label="@string/snapcam_app_name" |
| 115 | android:launchMode="singleTop" |
| 116 | android:targetActivity="com.android.camera.PermissionsActivity"> |
| 117 | <intent-filter> |
| 118 | <action android:name="android.media.action.IMAGE_CAPTURE" /> |
| 119 | <category android:name="android.intent.category.DEFAULT" /> |
| 120 | </intent-filter> |
| 121 | <intent-filter> |
| 122 | <action android:name="android.media.action.STILL_IMAGE_CAMERA" /> |
| 123 | <category android:name="android.intent.category.DEFAULT" /> |
| 124 | </intent-filter> |
| 125 | <intent-filter> |
| 126 | <action android:name="android.intent.action.MAIN" /> |
| 127 | <category android:name="android.intent.category.DEFAULT" /> |
| 128 | </intent-filter> |
| 129 | </activity-alias> |
| 130 | |
Mangesh Ghiware | f32062e | 2013-09-25 14:46:30 -0700 | [diff] [blame] | 131 | <!-- Video camera and capture use the Camcorder label and icon. --> |
| 132 | <activity-alias |
| 133 | android:name="com.android.camera.VideoCamera" |
| 134 | android:icon="@mipmap/ic_launcher_video_camera" |
| 135 | android:label="@string/video_camera_label" |
Emilian Peev | 8bb2730 | 2014-10-23 11:50:10 +0300 | [diff] [blame] | 136 | android:launchMode="singleTop" |
junjiez | 9a4e6d0 | 2016-08-05 10:59:39 +0800 | [diff] [blame] | 137 | android:targetActivity="com.android.camera.PermissionsActivity"> |
Mangesh Ghiware | f32062e | 2013-09-25 14:46:30 -0700 | [diff] [blame] | 138 | <intent-filter> |
| 139 | <action android:name="android.media.action.VIDEO_CAMERA" /> |
| 140 | <category android:name="android.intent.category.DEFAULT" /> |
| 141 | </intent-filter> |
| 142 | <intent-filter> |
| 143 | <action android:name="android.media.action.VIDEO_CAPTURE" /> |
| 144 | <category android:name="android.intent.category.DEFAULT" /> |
| 145 | </intent-filter> |
| 146 | </activity-alias> |
| 147 | |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 148 | <activity |
| 149 | android:name="com.android.camera.SecureCameraActivity" |
| 150 | android:clearTaskOnLaunch="true" |
| 151 | android:configChanges="orientation|screenSize|keyboardHidden" |
| 152 | android:excludeFromRecents="true" |
| 153 | android:icon="@mipmap/ic_launcher_camera" |
Sachin Shah | 89d153b | 2014-08-15 18:36:44 -0700 | [diff] [blame] | 154 | android:label="@string/snapcam_app_name" |
Jack Yoo | fb95db5 | 2016-01-21 14:20:30 -0800 | [diff] [blame] | 155 | android:launchMode="singleInstance" |
Alan Newberger | 761306f | 2013-10-30 12:51:21 -0700 | [diff] [blame] | 156 | android:logo="@mipmap/ic_launcher_gallery" |
qimengp | c5f0d48 | 2016-08-01 10:55:45 +0800 | [diff] [blame] | 157 | android:screenOrientation="portrait" |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 158 | android:taskAffinity="com.android.camera.SecureCameraActivity" |
| 159 | android:theme="@style/Theme.Camera" |
| 160 | android:windowSoftInputMode="stateAlwaysHidden|adjustPan" > |
Wu-cheng Li | c7e76d5 | 2012-09-17 17:32:59 +0800 | [diff] [blame] | 161 | <intent-filter> |
| 162 | <action android:name="android.media.action.STILL_IMAGE_CAMERA_SECURE" /> |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 163 | |
Wu-cheng Li | c7e76d5 | 2012-09-17 17:32:59 +0800 | [diff] [blame] | 164 | <category android:name="android.intent.category.DEFAULT" /> |
| 165 | </intent-filter> |
Wu-cheng Li | fb5c812 | 2012-09-25 11:20:27 +0800 | [diff] [blame] | 166 | <intent-filter> |
| 167 | <action android:name="android.media.action.IMAGE_CAPTURE_SECURE" /> |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 168 | |
Wu-cheng Li | fb5c812 | 2012-09-25 11:20:27 +0800 | [diff] [blame] | 169 | <category android:name="android.intent.category.DEFAULT" /> |
| 170 | </intent-filter> |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 171 | |
| 172 | <meta-data |
| 173 | android:name="com.android.keyguard.layout" |
| 174 | android:resource="@layout/keyguard_widget" /> |
Wu-cheng Li | c7e76d5 | 2012-09-17 17:32:59 +0800 | [diff] [blame] | 175 | </activity> |
| 176 | |
kaiyiz | 15f6eac | 2015-01-15 17:19:29 +0800 | [diff] [blame] | 177 | <activity-alias |
| 178 | android:name="com.android.camera.CameraGestureActivity" |
| 179 | android:icon="@mipmap/ic_launcher_camera" |
| 180 | android:label="@string/camera_gesture_title" |
| 181 | android:targetActivity="com.android.camera.SecureCameraActivity"> |
| 182 | <intent-filter> |
| 183 | <action android:name="android.intent.action.MAIN" /> |
| 184 | <category android:name="android.intent.category.DEFAULT" /> |
| 185 | </intent-filter> |
| 186 | </activity-alias> |
| 187 | |
nicolasroard | 19ab725 | 2013-09-18 16:54:05 -0700 | [diff] [blame] | 188 | <activity |
| 189 | android:name="com.android.camera.crop.CropActivity" |
Sascha Haeberling | c4aa7c0 | 2013-09-30 14:12:39 -0700 | [diff] [blame] | 190 | android:label="@string/crop_action" |
nicolasroard | 19ab725 | 2013-09-18 16:54:05 -0700 | [diff] [blame] | 191 | android:theme="@style/Theme.Crop" |
| 192 | android:configChanges="keyboardHidden|orientation|screenSize"> |
nicolasroard | 19ab725 | 2013-09-18 16:54:05 -0700 | [diff] [blame] | 193 | </activity> |
| 194 | |
Likai Ding | 762b435 | 2014-12-10 18:09:27 +0800 | [diff] [blame] | 195 | <activity |
| 196 | android:name="com.android.camera.RefocusActivity" |
| 197 | android:configChanges="keyboardHidden|orientation|screenSize"> |
| 198 | </activity> |
| 199 | |
Jack Yoo | 2fceef1 | 2016-06-30 14:16:44 -0700 | [diff] [blame] | 200 | <activity |
| 201 | android:name="com.android.camera.BestpictureActivity" |
| 202 | android:configChanges="keyboardHidden|orientation|screenSize"> |
| 203 | </activity> |
| 204 | |
Mangesh Ghiware | 0270ab7 | 2013-08-14 11:03:39 -0700 | [diff] [blame] | 205 | <receiver android:name="com.android.camera.DisableCameraReceiver"> |
| 206 | <intent-filter> |
| 207 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| 208 | </intent-filter> |
| 209 | </receiver> |
Santhosh Kumar H E | 6f0cdc8 | 2013-11-13 11:09:20 +0530 | [diff] [blame] | 210 | <receiver android:name="com.android.camera.CameraButtonIntentReceiver"> |
| 211 | <intent-filter> |
| 212 | <action android:name="android.intent.action.CAMERA_BUTTON"/> |
| 213 | </intent-filter> |
| 214 | </receiver> |
Mangesh Ghiware | 0270ab7 | 2013-08-14 11:03:39 -0700 | [diff] [blame] | 215 | |
Angus Kong | f4bfce2 | 2013-01-29 17:43:48 -0800 | [diff] [blame] | 216 | <service android:name="com.android.camera.MediaSaveService" /> |
Owen Lin | b540ef1 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 217 | </application> |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 218 | |
Angus Kong | b50b5cb | 2013-08-09 14:55:20 -0700 | [diff] [blame] | 219 | </manifest> |