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