blob: 11046e2f1b93060082ebadf654098c9b82975e5c [file] [log] [blame]
Angus Kongb50b5cb2013-08-09 14:55:20 -07001<?xml version="1.0" encoding="utf-8"?>
2
Sascha Haeberling8e963a52013-08-06 11:43:02 -07003<manifest xmlns:android="http://schemas.android.com/apk/res/android"
Sachin Shah89d153b2014-08-15 18:36:44 -07004 package="org.codeaurora.snapcam">
Owen Linb540ef12011-08-17 22:07:43 +08005
Sascha Haeberling8e963a52013-08-06 11:43:02 -07006 <uses-sdk
Byunghun Jeon1b30b782016-02-10 11:47:29 -08007 android:minSdkVersion="23"
Byunghun Jeon3618eb72015-11-17 14:20:30 -08008 android:targetSdkVersion="23" />
Owen Lin5d64c7d2012-10-16 10:22:54 +08009
Jay Wang53e8b4a2015-11-16 17:55:07 -080010 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
11 <uses-permission android:name="android.permission.SET_ORIENTATION" />
Owen Linb540ef12011-08-17 22:07:43 +080012 <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 Haeberlingb1e5e382013-10-02 17:17:29 -070015 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
Chih-Chung Chang00739432012-03-08 20:10:53 +080016 <uses-permission android:name="android.permission.CAMERA" />
Martijn Coenena453f332012-03-26 18:25:50 -070017 <uses-permission android:name="android.permission.NFC" />
Owen Linb540ef12011-08-17 22:07:43 +080018 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
Chih-Chung Chang00739432012-03-08 20:10:53 +080019 <uses-permission android:name="android.permission.RECORD_AUDIO" />
Owen Linb540ef12011-08-17 22:07:43 +080020 <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 Eb2da1c12014-01-21 19:21:42 +053023 <uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE" />
Owen Linb540ef12011-08-17 22:07:43 +080024 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
Chih-Chung Chang00739432012-03-08 20:10:53 +080025 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
likaid5edf6692015-03-20 16:05:21 +080026 <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
Camera Software Integration488679f2015-10-30 10:13:25 -070027 <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
Owen Linb540ef12011-08-17 22:07:43 +080028
Sascha Haeberling8e963a52013-08-06 11:43:02 -070029 <supports-screens
30 android:anyDensity="true"
31 android:largeScreens="true"
32 android:normalScreens="true"
33 android:smallScreens="false" />
Owen Linb540ef12011-08-17 22:07:43 +080034
Sascha Haeberling8e963a52013-08-06 11:43:02 -070035 <application
36 android:name="com.android.camera.app.CameraApp"
Sascha Haeberling8e963a52013-08-06 11:43:02 -070037 android:hardwareAccelerated="true"
38 android:icon="@mipmap/ic_launcher_camera"
Sachin Shah89d153b2014-08-15 18:36:44 -070039 android:label="@string/snapcam_app_name"
Sascha Haeberling8e963a52013-08-06 11:43:02 -070040 android:largeHeap="true"
41 android:logo="@mipmap/ic_launcher_camera"
42 android:restoreAnyVersion="true"
ztenghui3ec8d212013-11-05 15:23:12 -080043 android:supportsRtl="true"
Sascha Haeberling8e963a52013-08-06 11:43:02 -070044 android:theme="@style/Theme.Camera" >
nicolasroardb4f11612012-09-27 12:20:11 -070045 <activity
Sascha Haeberling8e963a52013-08-06 11:43:02 -070046 android:name="com.android.camera.CameraActivity"
47 android:clearTaskOnLaunch="true"
48 android:configChanges="orientation|screenSize|keyboardHidden"
49 android:icon="@mipmap/ic_launcher_camera"
Sachin Shah89d153b2014-08-15 18:36:44 -070050 android:label="@string/snapcam_app_name"
mingwax40054fa2016-10-11 17:24:39 +080051 android:launchMode="singleTask"
Mangesh Ghiware5df64b02013-09-18 18:25:26 -070052 android:logo="@mipmap/ic_launcher_gallery"
Likai Dinge2fb5dc2015-01-26 10:07:21 +080053 android:screenOrientation="portrait"
Sascha Haeberling8e963a52013-08-06 11:43:02 -070054 android:taskAffinity="com.android.camera.CameraActivity"
55 android:theme="@style/Theme.Camera"
56 android:windowSoftInputMode="stateAlwaysHidden|adjustPan" >
junjiez9eaf38a2016-12-23 13:59:39 +080057 <intent-filter>
58 <action android:name="android.intent.action.MAIN" />
59 <category android:name="android.intent.category.LAUNCHER" />
60 </intent-filter>
Mangesh Ghiwareacd4e112013-08-13 17:10:58 -070061
62 <meta-data
63 android:name="com.android.keyguard.layout"
64 android:resource="@layout/keyguard_widget" />
65 </activity>
66
zafirf6ced592015-06-29 00:08:22 -050067 <activity
68 android:name="com.android.camera.PermissionsActivity"
69 android:label="@string/app_name"
junjiez431dab72016-08-29 16:42:20 +080070 android:configChanges="orientation|screenSize|keyboardHidden"
zafirf6ced592015-06-29 00:08:22 -050071 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 Jeona6038bd2016-07-14 11:13:36 -070077 <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 Ghiwareacd4e112013-08-13 17:10:58 -070097 <activity-alias
98 android:name="com.android.camera.CameraLauncher"
99 android:icon="@mipmap/ic_launcher_camera"
Sachin Shah89d153b2014-08-15 18:36:44 -0700100 android:label="@string/snapcam_app_name"
Emilian Peev8bb27302014-10-23 11:50:10 +0300101 android:launchMode="singleTop"
Mangesh Ghiwareacd4e112013-08-13 17:10:58 -0700102 android:targetActivity="com.android.camera.CameraActivity">
Doris Liu2a7f44c2013-08-12 15:18:53 -0700103 <intent-filter>
Sascha Haeberling8e963a52013-08-06 11:43:02 -0700104 <action android:name="android.intent.action.MAIN" />
Mangesh Ghiwarea03ff6f2012-09-14 00:10:41 -0700105
Sascha Haeberling8e963a52013-08-06 11:43:02 -0700106 <category android:name="android.intent.category.DEFAULT" />
107 <category android:name="android.intent.category.LAUNCHER" />
108 </intent-filter>
Mangesh Ghiwareacd4e112013-08-13 17:10:58 -0700109 </activity-alias>
Sascha Haeberling8e963a52013-08-06 11:43:02 -0700110
junjiez9a4e6d02016-08-05 10:59:39 +0800111 <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 Ghiwaref32062e2013-09-25 14:46:30 -0700131 <!-- 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 Peev8bb27302014-10-23 11:50:10 +0300136 android:launchMode="singleTop"
junjiez9a4e6d02016-08-05 10:59:39 +0800137 android:targetActivity="com.android.camera.PermissionsActivity">
Mangesh Ghiwaref32062e2013-09-25 14:46:30 -0700138 <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 Haeberling8e963a52013-08-06 11:43:02 -0700148 <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 Shah89d153b2014-08-15 18:36:44 -0700154 android:label="@string/snapcam_app_name"
Jack Yoofb95db52016-01-21 14:20:30 -0800155 android:launchMode="singleInstance"
Alan Newberger761306f2013-10-30 12:51:21 -0700156 android:logo="@mipmap/ic_launcher_gallery"
qimengpc5f0d482016-08-01 10:55:45 +0800157 android:screenOrientation="portrait"
Sascha Haeberling8e963a52013-08-06 11:43:02 -0700158 android:taskAffinity="com.android.camera.SecureCameraActivity"
159 android:theme="@style/Theme.Camera"
160 android:windowSoftInputMode="stateAlwaysHidden|adjustPan" >
Wu-cheng Lic7e76d52012-09-17 17:32:59 +0800161 <intent-filter>
162 <action android:name="android.media.action.STILL_IMAGE_CAMERA_SECURE" />
Sascha Haeberling8e963a52013-08-06 11:43:02 -0700163
Wu-cheng Lic7e76d52012-09-17 17:32:59 +0800164 <category android:name="android.intent.category.DEFAULT" />
165 </intent-filter>
Wu-cheng Lifb5c8122012-09-25 11:20:27 +0800166 <intent-filter>
167 <action android:name="android.media.action.IMAGE_CAPTURE_SECURE" />
Sascha Haeberling8e963a52013-08-06 11:43:02 -0700168
Wu-cheng Lifb5c8122012-09-25 11:20:27 +0800169 <category android:name="android.intent.category.DEFAULT" />
170 </intent-filter>
Sascha Haeberling8e963a52013-08-06 11:43:02 -0700171
172 <meta-data
173 android:name="com.android.keyguard.layout"
174 android:resource="@layout/keyguard_widget" />
Wu-cheng Lic7e76d52012-09-17 17:32:59 +0800175 </activity>
176
kaiyiz15f6eac2015-01-15 17:19:29 +0800177 <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
nicolasroard19ab7252013-09-18 16:54:05 -0700188 <activity
189 android:name="com.android.camera.crop.CropActivity"
Sascha Haeberlingc4aa7c02013-09-30 14:12:39 -0700190 android:label="@string/crop_action"
nicolasroard19ab7252013-09-18 16:54:05 -0700191 android:theme="@style/Theme.Crop"
192 android:configChanges="keyboardHidden|orientation|screenSize">
nicolasroard19ab7252013-09-18 16:54:05 -0700193 </activity>
194
Likai Ding762b4352014-12-10 18:09:27 +0800195 <activity
196 android:name="com.android.camera.RefocusActivity"
197 android:configChanges="keyboardHidden|orientation|screenSize">
198 </activity>
199
Jack Yoo2fceef12016-06-30 14:16:44 -0700200 <activity
201 android:name="com.android.camera.BestpictureActivity"
202 android:configChanges="keyboardHidden|orientation|screenSize">
203 </activity>
204
Mangesh Ghiware0270ab72013-08-14 11:03:39 -0700205 <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 E6f0cdc82013-11-13 11:09:20 +0530210 <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 Ghiware0270ab72013-08-14 11:03:39 -0700215
Angus Kongf4bfce22013-01-29 17:43:48 -0800216 <service android:name="com.android.camera.MediaSaveService" />
Owen Linb540ef12011-08-17 22:07:43 +0800217 </application>
Sascha Haeberling8e963a52013-08-06 11:43:02 -0700218
Angus Kongb50b5cb2013-08-09 14:55:20 -0700219</manifest>