Angus Kong | b50b5cb | 2013-08-09 14:55:20 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | |
Spike Sprague | 6a8acee | 2014-07-28 15:15:10 -0700 | [diff] [blame] | 3 | <manifest |
| 4 | xmlns:android="http://schemas.android.com/apk/res/android" |
Sascha Haeberling | 3023993 | 2013-08-28 14:51:53 -0700 | [diff] [blame] | 5 | package="com.android.camera2"> |
Owen Lin | b540ef1 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 6 | |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 7 | <uses-sdk |
Sascha Haeberling | 8b942cc | 2013-12-10 10:51:22 -0800 | [diff] [blame] | 8 | android:minSdkVersion="19" |
zafir | ad44cda | 2015-06-29 00:08:22 -0500 | [diff] [blame] | 9 | android:targetSdkVersion="23" /> |
Owen Lin | 5d64c7d | 2012-10-16 10:22:54 +0800 | [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" /> |
| 15 | <uses-permission android:name="android.permission.BIND_WALLPAPER" /> |
Chih-Chung Chang | 0073943 | 2012-03-08 20:10:53 +0800 | [diff] [blame] | 16 | <uses-permission android:name="android.permission.CAMERA" /> |
Sascha Haeberling | b1e5e38 | 2013-10-02 17:17:29 -0700 | [diff] [blame] | 17 | <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" /> |
Owen Lin | b540ef1 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 18 | <uses-permission android:name="android.permission.GET_ACCOUNTS" /> |
| 19 | <uses-permission android:name="android.permission.INTERNET" /> |
| 20 | <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" /> |
Martijn Coenen | a453f33 | 2012-03-26 18:25:50 -0700 | [diff] [blame] | 21 | <uses-permission android:name="android.permission.NFC" /> |
Owen Lin | b540ef1 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 22 | <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" /> |
Chih-Chung Chang | 4f19a07 | 2012-03-12 16:04:59 +0800 | [diff] [blame] | 23 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
Chih-Chung Chang | 0073943 | 2012-03-08 20:10:53 +0800 | [diff] [blame] | 24 | <uses-permission android:name="android.permission.RECORD_AUDIO" /> |
Owen Lin | b540ef1 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 25 | <uses-permission android:name="android.permission.SET_WALLPAPER" /> |
Sascha Haeberling | b1e5e38 | 2013-10-02 17:17:29 -0700 | [diff] [blame] | 26 | <uses-permission android:name="android.permission.SUBSCRIBED_FEEDS_READ" /> |
| 27 | <uses-permission android:name="android.permission.SUBSCRIBED_FEEDS_WRITE" /> |
Owen Lin | b540ef1 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 28 | <uses-permission android:name="android.permission.USE_CREDENTIALS" /> |
| 29 | <uses-permission android:name="android.permission.VIBRATE" /> |
| 30 | <uses-permission android:name="android.permission.WAKE_LOCK" /> |
| 31 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
Owen Lin | b540ef1 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 32 | <uses-permission android:name="android.permission.WRITE_SETTINGS" /> |
Chih-Chung Chang | 0073943 | 2012-03-08 20:10:53 +0800 | [diff] [blame] | 33 | <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" /> |
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 | <supports-screens |
| 36 | android:anyDensity="true" |
| 37 | android:largeScreens="true" |
| 38 | android:normalScreens="true" |
| 39 | android:smallScreens="false" /> |
Owen Lin | b540ef1 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 40 | |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 41 | <application |
| 42 | android:name="com.android.camera.app.CameraApp" |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 43 | android:hardwareAccelerated="true" |
Alan Newberger | ca5173d | 2014-09-11 14:39:22 -0700 | [diff] [blame] | 44 | android:icon="@mipmap/logo_camera_color_44in48dp" |
Sascha Haeberling | 26145e5 | 2013-09-03 17:02:11 -0700 | [diff] [blame] | 45 | android:label="@string/app_name" |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 46 | android:largeHeap="true" |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 47 | android:restoreAnyVersion="true" |
ztenghui | 3ec8d21 | 2013-11-05 15:23:12 -0800 | [diff] [blame] | 48 | android:supportsRtl="true" |
Alex Klyubin | beb40ca | 2015-04-02 12:40:54 -0700 | [diff] [blame] | 49 | android:theme="@style/Theme.Camera" |
| 50 | android:usesCleartextTraffic="false" > |
nicolasroard | b4f1161 | 2012-09-27 12:20:11 -0700 | [diff] [blame] | 51 | <activity |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 52 | android:name="com.android.camera.CameraActivity" |
| 53 | android:clearTaskOnLaunch="true" |
| 54 | android:configChanges="orientation|screenSize|keyboardHidden" |
Sascha Haeberling | 26145e5 | 2013-09-03 17:02:11 -0700 | [diff] [blame] | 55 | android:label="@string/app_name" |
Puneet Lall | 4de9b72 | 2014-09-25 15:05:47 -0700 | [diff] [blame] | 56 | android:launchMode="singleTask" |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 57 | android:taskAffinity="com.android.camera.CameraActivity" |
| 58 | android:theme="@style/Theme.Camera" |
| 59 | android:windowSoftInputMode="stateAlwaysHidden|adjustPan" > |
Michael Kolb | 645cf9f | 2012-09-10 15:14:56 -0700 | [diff] [blame] | 60 | <intent-filter> |
Mangesh Ghiware | a03ff6f | 2012-09-14 00:10:41 -0700 | [diff] [blame] | 61 | <action android:name="android.media.action.STILL_IMAGE_CAMERA" /> |
Doris Liu | 2a7f44c | 2013-08-12 15:18:53 -0700 | [diff] [blame] | 62 | <category android:name="android.intent.category.DEFAULT" /> |
| 63 | </intent-filter> |
Mangesh Ghiware | 3964082 | 2013-08-16 16:49:32 -0700 | [diff] [blame] | 64 | <intent-filter> |
| 65 | <action android:name="android.intent.action.MAIN" /> |
| 66 | <category android:name="android.intent.category.DEFAULT" /> |
| 67 | </intent-filter> |
Mangesh Ghiware | acd4e11 | 2013-08-13 17:10:58 -0700 | [diff] [blame] | 68 | |
| 69 | <meta-data |
| 70 | android:name="com.android.keyguard.layout" |
| 71 | android:resource="@layout/keyguard_widget" /> |
| 72 | </activity> |
| 73 | |
zafir | ad44cda | 2015-06-29 00:08:22 -0500 | [diff] [blame] | 74 | <activity |
| 75 | android:name="com.android.camera.PermissionsActivity" |
| 76 | android:label="@string/app_name" |
| 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 | |
Mangesh Ghiware | acd4e11 | 2013-08-13 17:10:58 -0700 | [diff] [blame] | 83 | <activity-alias |
| 84 | android:name="com.android.camera.CameraLauncher" |
Sascha Haeberling | 26145e5 | 2013-09-03 17:02:11 -0700 | [diff] [blame] | 85 | android:label="@string/app_name" |
Mangesh Ghiware | acd4e11 | 2013-08-13 17:10:58 -0700 | [diff] [blame] | 86 | android:targetActivity="com.android.camera.CameraActivity"> |
Doris Liu | 2a7f44c | 2013-08-12 15:18:53 -0700 | [diff] [blame] | 87 | <intent-filter> |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 88 | <action android:name="android.intent.action.MAIN" /> |
Mangesh Ghiware | a03ff6f | 2012-09-14 00:10:41 -0700 | [diff] [blame] | 89 | |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 90 | <category android:name="android.intent.category.DEFAULT" /> |
| 91 | <category android:name="android.intent.category.LAUNCHER" /> |
| 92 | </intent-filter> |
Mangesh Ghiware | acd4e11 | 2013-08-13 17:10:58 -0700 | [diff] [blame] | 93 | </activity-alias> |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 94 | |
Puneet Lall | 59d337b | 2014-10-08 16:36:20 -0700 | [diff] [blame] | 95 | <activity |
| 96 | android:name="com.android.camera.CaptureActivity" |
| 97 | android:label="@string/app_name" |
| 98 | android:theme="@style/Theme.Camera" |
| 99 | android:configChanges="orientation|screenSize|keyboardHidden" |
| 100 | android:windowSoftInputMode="stateAlwaysHidden|adjustPan"> |
| 101 | <intent-filter> |
| 102 | <action android:name="android.media.action.IMAGE_CAPTURE" /> |
| 103 | <category android:name="android.intent.category.DEFAULT" /> |
| 104 | </intent-filter> |
| 105 | </activity> |
| 106 | |
Mangesh Ghiware | f32062e | 2013-09-25 14:46:30 -0700 | [diff] [blame] | 107 | <!-- Video camera and capture use the Camcorder label and icon. --> |
| 108 | <activity-alias |
| 109 | android:name="com.android.camera.VideoCamera" |
Mangesh Ghiware | f32062e | 2013-09-25 14:46:30 -0700 | [diff] [blame] | 110 | android:label="@string/video_camera_label" |
Puneet Lall | 59d337b | 2014-10-08 16:36:20 -0700 | [diff] [blame] | 111 | android:targetActivity="com.android.camera.CaptureActivity"> |
Mangesh Ghiware | f32062e | 2013-09-25 14:46:30 -0700 | [diff] [blame] | 112 | <intent-filter> |
| 113 | <action android:name="android.media.action.VIDEO_CAMERA" /> |
| 114 | <category android:name="android.intent.category.DEFAULT" /> |
| 115 | </intent-filter> |
| 116 | <intent-filter> |
| 117 | <action android:name="android.media.action.VIDEO_CAPTURE" /> |
| 118 | <category android:name="android.intent.category.DEFAULT" /> |
| 119 | </intent-filter> |
| 120 | </activity-alias> |
| 121 | |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 122 | <activity |
| 123 | android:name="com.android.camera.SecureCameraActivity" |
| 124 | android:clearTaskOnLaunch="true" |
| 125 | android:configChanges="orientation|screenSize|keyboardHidden" |
| 126 | android:excludeFromRecents="true" |
Sascha Haeberling | 26145e5 | 2013-09-03 17:02:11 -0700 | [diff] [blame] | 127 | android:label="@string/app_name" |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 128 | android:taskAffinity="com.android.camera.SecureCameraActivity" |
Alan Newberger | 31f8950 | 2015-01-14 14:10:05 -0800 | [diff] [blame] | 129 | android:theme="@style/Theme.SecureCamera" |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 130 | android:windowSoftInputMode="stateAlwaysHidden|adjustPan" > |
Wu-cheng Li | c7e76d5 | 2012-09-17 17:32:59 +0800 | [diff] [blame] | 131 | <intent-filter> |
| 132 | <action android:name="android.media.action.STILL_IMAGE_CAMERA_SECURE" /> |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 133 | |
Wu-cheng Li | c7e76d5 | 2012-09-17 17:32:59 +0800 | [diff] [blame] | 134 | <category android:name="android.intent.category.DEFAULT" /> |
| 135 | </intent-filter> |
Wu-cheng Li | fb5c812 | 2012-09-25 11:20:27 +0800 | [diff] [blame] | 136 | <intent-filter> |
| 137 | <action android:name="android.media.action.IMAGE_CAPTURE_SECURE" /> |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 138 | |
Wu-cheng Li | fb5c812 | 2012-09-25 11:20:27 +0800 | [diff] [blame] | 139 | <category android:name="android.intent.category.DEFAULT" /> |
| 140 | </intent-filter> |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 141 | |
| 142 | <meta-data |
| 143 | android:name="com.android.keyguard.layout" |
| 144 | android:resource="@layout/keyguard_widget" /> |
Wu-cheng Li | c7e76d5 | 2012-09-17 17:32:59 +0800 | [diff] [blame] | 145 | </activity> |
| 146 | |
nicolasroard | 19ab725 | 2013-09-18 16:54:05 -0700 | [diff] [blame] | 147 | <activity |
Sascha Haeberling | de30323 | 2014-02-07 02:30:53 +0100 | [diff] [blame] | 148 | android:name="com.android.camera.settings.CameraSettingsActivity" |
Sascha Haeberling | 1ee6869 | 2014-02-14 12:05:13 +0100 | [diff] [blame] | 149 | android:label="@string/mode_settings" |
Sascha Haeberling | de30323 | 2014-02-07 02:30:53 +0100 | [diff] [blame] | 150 | android:theme="@style/Theme.CameraSettings" |
| 151 | android:configChanges="keyboardHidden|orientation|screenSize"> |
| 152 | </activity> |
| 153 | |
Mangesh Ghiware | 0270ab7 | 2013-08-14 11:03:39 -0700 | [diff] [blame] | 154 | <receiver android:name="com.android.camera.DisableCameraReceiver"> |
| 155 | <intent-filter> |
| 156 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| 157 | </intent-filter> |
| 158 | </receiver> |
Owen Lin | b540ef1 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 159 | </application> |
Sascha Haeberling | 8e963a5 | 2013-08-06 11:43:02 -0700 | [diff] [blame] | 160 | |
Angus Kong | b50b5cb | 2013-08-09 14:55:20 -0700 | [diff] [blame] | 161 | </manifest> |