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" |
jinwu | c023dd5 | 2019-02-22 11:08:03 +0800 | [diff] [blame] | 8 | android:targetSdkVersion="28" /> |
Owen Lin | 5d64c7d | 2012-10-16 10:22:54 +0800 | [diff] [blame] | 9 | |
Arne Coucheron | 7e0255e | 2017-08-01 00:49:53 +0200 | [diff] [blame] | 10 | |
Owen Lin | b540ef1 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 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" /> |
Sascha Haeberling | b1e5e38 | 2013-10-02 17:17:29 -0700 | [diff] [blame] | 14 | <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> |
Chih-Chung Chang | 0073943 | 2012-03-08 20:10:53 +0800 | [diff] [blame] | 15 | <uses-permission android:name="android.permission.CAMERA" /> |
Martijn Coenen | a453f33 | 2012-03-26 18:25:50 -0700 | [diff] [blame] | 16 | <uses-permission android:name="android.permission.NFC" /> |
Owen Lin | b540ef1 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 17 | <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" /> |
Chih-Chung Chang | 0073943 | 2012-03-08 20:10:53 +0800 | [diff] [blame] | 18 | <uses-permission android:name="android.permission.RECORD_AUDIO" /> |
Owen Lin | b540ef1 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 19 | <uses-permission android:name="android.permission.VIBRATE" /> |
| 20 | <uses-permission android:name="android.permission.WAKE_LOCK" /> |
| 21 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
Santhosh Kumar H E | b2da1c1 | 2014-01-21 19:21:42 +0530 | [diff] [blame] | 22 | <uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE" /> |
Owen Lin | b540ef1 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 23 | <uses-permission android:name="android.permission.WRITE_SETTINGS" /> |
Chih-Chung Chang | 0073943 | 2012-03-08 20:10:53 +0800 | [diff] [blame] | 24 | <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" /> |
likaid | 5edf669 | 2015-03-20 16:05:21 +0800 | [diff] [blame] | 25 | <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" /> |
Camera Software Integration | 488679f | 2015-10-30 10:13:25 -0700 | [diff] [blame] | 26 | <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /> |
Michael Bestas | bfdc103 | 2014-01-20 20:40:32 +0200 | [diff] [blame^] | 27 | <uses-permission android:name="android.permission.PREVENT_POWER_KEY" /> |
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" |
Michael Bestas | 559aedc | 2015-08-29 01:42:53 +0300 | [diff] [blame] | 39 | android:label="@string/app_name" |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 40 | android:largeHeap="true" |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 41 | android:restoreAnyVersion="true" |
ztenghui | 3ec8d21 | 2013-11-05 15:23:12 -0800 | [diff] [blame] | 42 | android:supportsRtl="true" |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 43 | android:theme="@style/Theme.Camera" > |
nicolasroard | b4f1161 | 2012-09-27 12:20:11 -0700 | [diff] [blame] | 44 | <activity |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 45 | android:name="com.android.camera.CameraActivity" |
| 46 | android:clearTaskOnLaunch="true" |
| 47 | android:configChanges="orientation|screenSize|keyboardHidden" |
Michael Bestas | 559aedc | 2015-08-29 01:42:53 +0300 | [diff] [blame] | 48 | android:label="@string/app_name" |
mingwax | 40054fa | 2016-10-11 17:24:39 +0800 | [diff] [blame] | 49 | android:launchMode="singleTask" |
Likai Ding | e2fb5dc | 2015-01-26 10:07:21 +0800 | [diff] [blame] | 50 | android:screenOrientation="portrait" |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 51 | android:taskAffinity="com.android.camera.CameraActivity" |
| 52 | android:theme="@style/Theme.Camera" |
Weijie Wang | b59cf61 | 2017-09-05 10:42:58 +0800 | [diff] [blame] | 53 | android:windowSoftInputMode="stateAlwaysHidden|adjustPan" |
| 54 | android:visibleToInstantApps="true"> |
junjiez | 9eaf38a | 2016-12-23 13:59:39 +0800 | [diff] [blame] | 55 | <intent-filter> |
| 56 | <action android:name="android.intent.action.MAIN" /> |
junjiez | d5a506d | 2017-01-16 15:14:55 +0800 | [diff] [blame] | 57 | <category android:name="android.intent.category.DEFAULT" /> |
junjiez | 9eaf38a | 2016-12-23 13:59:39 +0800 | [diff] [blame] | 58 | </intent-filter> |
Mangesh Ghiware | acd4e11 | 2013-08-13 17:10:58 -0700 | [diff] [blame] | 59 | |
| 60 | <meta-data |
| 61 | android:name="com.android.keyguard.layout" |
| 62 | android:resource="@layout/keyguard_widget" /> |
| 63 | </activity> |
| 64 | |
zafir | f6ced59 | 2015-06-29 00:08:22 -0500 | [diff] [blame] | 65 | <activity |
| 66 | android:name="com.android.camera.PermissionsActivity" |
| 67 | android:label="@string/app_name" |
junjiez | 31ff242 | 2017-02-07 17:09:38 +0800 | [diff] [blame] | 68 | android:launchMode="singleTop" |
junjiez | 431dab7 | 2016-08-29 16:42:20 +0800 | [diff] [blame] | 69 | android:configChanges="orientation|screenSize|keyboardHidden" |
Weijie Wang | b59cf61 | 2017-09-05 10:42:58 +0800 | [diff] [blame] | 70 | android:parentActivityName="com.android.camera.CameraActivity" |
| 71 | android:visibleToInstantApps="true"> |
| 72 | |
| 73 | <intent-filter> |
| 74 | <action android:name="android.media.action.VIDEO_CAMERA" /> |
| 75 | <category android:name="android.intent.category.DEFAULT" /> |
| 76 | </intent-filter> |
| 77 | |
| 78 | <intent-filter> |
| 79 | <action android:name="android.media.action.VIDEO_CAPTURE" /> |
| 80 | <category android:name="android.intent.category.DEFAULT" /> |
| 81 | </intent-filter> |
| 82 | |
| 83 | <intent-filter> |
| 84 | <action android:name="android.media.action.IMAGE_CAPTURE" /> |
| 85 | <category android:name="android.intent.category.DEFAULT" /> |
| 86 | </intent-filter> |
| 87 | |
| 88 | <intent-filter> |
| 89 | <action android:name="android.media.action.STILL_IMAGE_CAMERA" /> |
| 90 | <category android:name="android.intent.category.DEFAULT" /> |
| 91 | </intent-filter> |
| 92 | |
| 93 | <meta-data |
| 94 | android:name="android.support.PARENT_ACTIVITY" |
| 95 | android:value="com.android.camera.CameraActivity" /> |
zafir | f6ced59 | 2015-06-29 00:08:22 -0500 | [diff] [blame] | 96 | </activity> |
| 97 | |
Byunghun Jeon | a6038bd | 2016-07-14 11:13:36 -0700 | [diff] [blame] | 98 | <activity |
pezhan | 0615a84 | 2017-01-25 13:33:34 +0800 | [diff] [blame] | 99 | android:theme="@style/Theme.Settings" |
Byunghun Jeon | a6038bd | 2016-07-14 11:13:36 -0700 | [diff] [blame] | 100 | android:name="com.android.camera.SettingsActivity" |
| 101 | android:clearTaskOnLaunch="true" |
| 102 | android:configChanges="orientation|screenSize|keyboardHidden" |
Michael Bestas | 559aedc | 2015-08-29 01:42:53 +0300 | [diff] [blame] | 103 | android:label="@string/app_name" |
pezhan | 0615a84 | 2017-01-25 13:33:34 +0800 | [diff] [blame] | 104 | android:launchMode="singleTop" |
| 105 | android:parentActivityName="com.android.camera.CameraActivity"> |
Byunghun Jeon | a6038bd | 2016-07-14 11:13:36 -0700 | [diff] [blame] | 106 | </activity> |
| 107 | |
| 108 | <activity |
| 109 | android:theme="@android:style/Theme.Material.Light.NoActionBar.Fullscreen" |
| 110 | android:name="com.android.camera.SceneModeActivity" |
| 111 | android:clearTaskOnLaunch="true" |
| 112 | android:configChanges="orientation|screenSize|keyboardHidden" |
Michael Bestas | 559aedc | 2015-08-29 01:42:53 +0300 | [diff] [blame] | 113 | android:label="@string/app_name" |
Byunghun Jeon | a6038bd | 2016-07-14 11:13:36 -0700 | [diff] [blame] | 114 | android:launchMode="singleTop" > |
| 115 | </activity> |
| 116 | |
Mangesh Ghiware | acd4e11 | 2013-08-13 17:10:58 -0700 | [diff] [blame] | 117 | <activity-alias |
| 118 | android:name="com.android.camera.CameraLauncher" |
Michael Bestas | 559aedc | 2015-08-29 01:42:53 +0300 | [diff] [blame] | 119 | android:label="@string/app_name" |
Emilian Peev | 8bb2730 | 2014-10-23 11:50:10 +0300 | [diff] [blame] | 120 | android:launchMode="singleTop" |
Mangesh Ghiware | acd4e11 | 2013-08-13 17:10:58 -0700 | [diff] [blame] | 121 | android:targetActivity="com.android.camera.CameraActivity"> |
Doris Liu | 2a7f44c | 2013-08-12 15:18:53 -0700 | [diff] [blame] | 122 | <intent-filter> |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 123 | <action android:name="android.intent.action.MAIN" /> |
Mangesh Ghiware | a03ff6f | 2012-09-14 00:10:41 -0700 | [diff] [blame] | 124 | |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 125 | <category android:name="android.intent.category.DEFAULT" /> |
| 126 | <category android:name="android.intent.category.LAUNCHER" /> |
| 127 | </intent-filter> |
Mangesh Ghiware | acd4e11 | 2013-08-13 17:10:58 -0700 | [diff] [blame] | 128 | </activity-alias> |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 129 | |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 130 | <activity |
| 131 | android:name="com.android.camera.SecureCameraActivity" |
| 132 | android:clearTaskOnLaunch="true" |
| 133 | android:configChanges="orientation|screenSize|keyboardHidden" |
| 134 | android:excludeFromRecents="true" |
Michael Bestas | 559aedc | 2015-08-29 01:42:53 +0300 | [diff] [blame] | 135 | android:label="@string/app_name" |
Jack Yoo | fb95db5 | 2016-01-21 14:20:30 -0800 | [diff] [blame] | 136 | android:launchMode="singleInstance" |
qimengp | c5f0d48 | 2016-08-01 10:55:45 +0800 | [diff] [blame] | 137 | android:screenOrientation="portrait" |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 138 | android:taskAffinity="com.android.camera.SecureCameraActivity" |
| 139 | android:theme="@style/Theme.Camera" |
| 140 | android:windowSoftInputMode="stateAlwaysHidden|adjustPan" > |
Wu-cheng Li | c7e76d5 | 2012-09-17 17:32:59 +0800 | [diff] [blame] | 141 | <intent-filter> |
| 142 | <action android:name="android.media.action.STILL_IMAGE_CAMERA_SECURE" /> |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 143 | |
Wu-cheng Li | c7e76d5 | 2012-09-17 17:32:59 +0800 | [diff] [blame] | 144 | <category android:name="android.intent.category.DEFAULT" /> |
| 145 | </intent-filter> |
Wu-cheng Li | fb5c812 | 2012-09-25 11:20:27 +0800 | [diff] [blame] | 146 | <intent-filter> |
| 147 | <action android:name="android.media.action.IMAGE_CAPTURE_SECURE" /> |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 148 | |
Wu-cheng Li | fb5c812 | 2012-09-25 11:20:27 +0800 | [diff] [blame] | 149 | <category android:name="android.intent.category.DEFAULT" /> |
| 150 | </intent-filter> |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 151 | |
| 152 | <meta-data |
| 153 | android:name="com.android.keyguard.layout" |
| 154 | android:resource="@layout/keyguard_widget" /> |
Wu-cheng Li | c7e76d5 | 2012-09-17 17:32:59 +0800 | [diff] [blame] | 155 | </activity> |
| 156 | |
kaiyiz | 15f6eac | 2015-01-15 17:19:29 +0800 | [diff] [blame] | 157 | <activity-alias |
| 158 | android:name="com.android.camera.CameraGestureActivity" |
kaiyiz | 15f6eac | 2015-01-15 17:19:29 +0800 | [diff] [blame] | 159 | android:label="@string/camera_gesture_title" |
| 160 | android:targetActivity="com.android.camera.SecureCameraActivity"> |
| 161 | <intent-filter> |
| 162 | <action android:name="android.intent.action.MAIN" /> |
| 163 | <category android:name="android.intent.category.DEFAULT" /> |
| 164 | </intent-filter> |
| 165 | </activity-alias> |
| 166 | |
nicolasroard | 19ab725 | 2013-09-18 16:54:05 -0700 | [diff] [blame] | 167 | <activity |
| 168 | android:name="com.android.camera.crop.CropActivity" |
Sascha Haeberling | c4aa7c0 | 2013-09-30 14:12:39 -0700 | [diff] [blame] | 169 | android:label="@string/crop_action" |
nicolasroard | 19ab725 | 2013-09-18 16:54:05 -0700 | [diff] [blame] | 170 | android:theme="@style/Theme.Crop" |
| 171 | android:configChanges="keyboardHidden|orientation|screenSize"> |
nicolasroard | 19ab725 | 2013-09-18 16:54:05 -0700 | [diff] [blame] | 172 | </activity> |
| 173 | |
Likai Ding | 762b435 | 2014-12-10 18:09:27 +0800 | [diff] [blame] | 174 | <activity |
| 175 | android:name="com.android.camera.RefocusActivity" |
| 176 | android:configChanges="keyboardHidden|orientation|screenSize"> |
| 177 | </activity> |
| 178 | |
Jack Yoo | 2fceef1 | 2016-06-30 14:16:44 -0700 | [diff] [blame] | 179 | <activity |
| 180 | android:name="com.android.camera.BestpictureActivity" |
| 181 | android:configChanges="keyboardHidden|orientation|screenSize"> |
| 182 | </activity> |
| 183 | |
Mangesh Ghiware | 0270ab7 | 2013-08-14 11:03:39 -0700 | [diff] [blame] | 184 | <receiver android:name="com.android.camera.DisableCameraReceiver"> |
| 185 | <intent-filter> |
| 186 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| 187 | </intent-filter> |
| 188 | </receiver> |
Santhosh Kumar H E | 6f0cdc8 | 2013-11-13 11:09:20 +0530 | [diff] [blame] | 189 | <receiver android:name="com.android.camera.CameraButtonIntentReceiver"> |
| 190 | <intent-filter> |
| 191 | <action android:name="android.intent.action.CAMERA_BUTTON"/> |
| 192 | </intent-filter> |
| 193 | </receiver> |
Mangesh Ghiware | 0270ab7 | 2013-08-14 11:03:39 -0700 | [diff] [blame] | 194 | |
Angus Kong | f4bfce2 | 2013-01-29 17:43:48 -0800 | [diff] [blame] | 195 | <service android:name="com.android.camera.MediaSaveService" /> |
Owen Lin | b540ef1 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 196 | </application> |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 197 | |
Angus Kong | b50b5cb | 2013-08-09 14:55:20 -0700 | [diff] [blame] | 198 | </manifest> |