blob: 3a4aaa9bd9aec547f0e3d9388cdd5d7bb57cb7cf [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"
jinwuc023dd52019-02-22 11:08:03 +08008 android:targetSdkVersion="28" />
Owen Lin5d64c7d2012-10-16 10:22:54 +08009
Arne Coucheron7e0255e2017-08-01 00:49:53 +020010
Owen Linb540ef12011-08-17 22:07:43 +080011 <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 Haeberlingb1e5e382013-10-02 17:17:29 -070014 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
Chih-Chung Chang00739432012-03-08 20:10:53 +080015 <uses-permission android:name="android.permission.CAMERA" />
Martijn Coenena453f332012-03-26 18:25:50 -070016 <uses-permission android:name="android.permission.NFC" />
Owen Linb540ef12011-08-17 22:07:43 +080017 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
Chih-Chung Chang00739432012-03-08 20:10:53 +080018 <uses-permission android:name="android.permission.RECORD_AUDIO" />
Owen Linb540ef12011-08-17 22:07:43 +080019 <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 Eb2da1c12014-01-21 19:21:42 +053022 <uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE" />
Owen Linb540ef12011-08-17 22:07:43 +080023 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
Chih-Chung Chang00739432012-03-08 20:10:53 +080024 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
likaid5edf6692015-03-20 16:05:21 +080025 <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
Camera Software Integration488679f2015-10-30 10:13:25 -070026 <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
Michael Bestasbfdc1032014-01-20 20:40:32 +020027 <uses-permission android:name="android.permission.PREVENT_POWER_KEY" />
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"
Michael Bestas559aedc2015-08-29 01:42:53 +030039 android:label="@string/app_name"
Sascha Haeberling8e963a52013-08-06 11:43:02 -070040 android:largeHeap="true"
Sascha Haeberling8e963a52013-08-06 11:43:02 -070041 android:restoreAnyVersion="true"
ztenghui3ec8d212013-11-05 15:23:12 -080042 android:supportsRtl="true"
Sascha Haeberling8e963a52013-08-06 11:43:02 -070043 android:theme="@style/Theme.Camera" >
nicolasroardb4f11612012-09-27 12:20:11 -070044 <activity
Sascha Haeberling8e963a52013-08-06 11:43:02 -070045 android:name="com.android.camera.CameraActivity"
46 android:clearTaskOnLaunch="true"
47 android:configChanges="orientation|screenSize|keyboardHidden"
Michael Bestas559aedc2015-08-29 01:42:53 +030048 android:label="@string/app_name"
mingwax40054fa2016-10-11 17:24:39 +080049 android:launchMode="singleTask"
Likai Dinge2fb5dc2015-01-26 10:07:21 +080050 android:screenOrientation="portrait"
Sascha Haeberling8e963a52013-08-06 11:43:02 -070051 android:taskAffinity="com.android.camera.CameraActivity"
52 android:theme="@style/Theme.Camera"
Weijie Wangb59cf612017-09-05 10:42:58 +080053 android:windowSoftInputMode="stateAlwaysHidden|adjustPan"
54 android:visibleToInstantApps="true">
junjiez9eaf38a2016-12-23 13:59:39 +080055 <intent-filter>
56 <action android:name="android.intent.action.MAIN" />
junjiezd5a506d2017-01-16 15:14:55 +080057 <category android:name="android.intent.category.DEFAULT" />
junjiez9eaf38a2016-12-23 13:59:39 +080058 </intent-filter>
Mangesh Ghiwareacd4e112013-08-13 17:10:58 -070059
60 <meta-data
61 android:name="com.android.keyguard.layout"
62 android:resource="@layout/keyguard_widget" />
63 </activity>
64
zafirf6ced592015-06-29 00:08:22 -050065 <activity
66 android:name="com.android.camera.PermissionsActivity"
67 android:label="@string/app_name"
junjiez31ff2422017-02-07 17:09:38 +080068 android:launchMode="singleTop"
junjiez431dab72016-08-29 16:42:20 +080069 android:configChanges="orientation|screenSize|keyboardHidden"
Weijie Wangb59cf612017-09-05 10:42:58 +080070 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" />
zafirf6ced592015-06-29 00:08:22 -050096 </activity>
97
Byunghun Jeona6038bd2016-07-14 11:13:36 -070098 <activity
pezhan0615a842017-01-25 13:33:34 +080099 android:theme="@style/Theme.Settings"
Byunghun Jeona6038bd2016-07-14 11:13:36 -0700100 android:name="com.android.camera.SettingsActivity"
101 android:clearTaskOnLaunch="true"
102 android:configChanges="orientation|screenSize|keyboardHidden"
Michael Bestas559aedc2015-08-29 01:42:53 +0300103 android:label="@string/app_name"
pezhan0615a842017-01-25 13:33:34 +0800104 android:launchMode="singleTop"
105 android:parentActivityName="com.android.camera.CameraActivity">
Byunghun Jeona6038bd2016-07-14 11:13:36 -0700106 </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 Bestas559aedc2015-08-29 01:42:53 +0300113 android:label="@string/app_name"
Byunghun Jeona6038bd2016-07-14 11:13:36 -0700114 android:launchMode="singleTop" >
115 </activity>
116
Mangesh Ghiwareacd4e112013-08-13 17:10:58 -0700117 <activity-alias
118 android:name="com.android.camera.CameraLauncher"
Michael Bestas559aedc2015-08-29 01:42:53 +0300119 android:label="@string/app_name"
Emilian Peev8bb27302014-10-23 11:50:10 +0300120 android:launchMode="singleTop"
Mangesh Ghiwareacd4e112013-08-13 17:10:58 -0700121 android:targetActivity="com.android.camera.CameraActivity">
Doris Liu2a7f44c2013-08-12 15:18:53 -0700122 <intent-filter>
Sascha Haeberling8e963a52013-08-06 11:43:02 -0700123 <action android:name="android.intent.action.MAIN" />
Mangesh Ghiwarea03ff6f2012-09-14 00:10:41 -0700124
Sascha Haeberling8e963a52013-08-06 11:43:02 -0700125 <category android:name="android.intent.category.DEFAULT" />
126 <category android:name="android.intent.category.LAUNCHER" />
127 </intent-filter>
Mangesh Ghiwareacd4e112013-08-13 17:10:58 -0700128 </activity-alias>
Sascha Haeberling8e963a52013-08-06 11:43:02 -0700129
Sascha Haeberling8e963a52013-08-06 11:43:02 -0700130 <activity
131 android:name="com.android.camera.SecureCameraActivity"
132 android:clearTaskOnLaunch="true"
133 android:configChanges="orientation|screenSize|keyboardHidden"
134 android:excludeFromRecents="true"
Michael Bestas559aedc2015-08-29 01:42:53 +0300135 android:label="@string/app_name"
Jack Yoofb95db52016-01-21 14:20:30 -0800136 android:launchMode="singleInstance"
qimengpc5f0d482016-08-01 10:55:45 +0800137 android:screenOrientation="portrait"
Sascha Haeberling8e963a52013-08-06 11:43:02 -0700138 android:taskAffinity="com.android.camera.SecureCameraActivity"
139 android:theme="@style/Theme.Camera"
140 android:windowSoftInputMode="stateAlwaysHidden|adjustPan" >
Wu-cheng Lic7e76d52012-09-17 17:32:59 +0800141 <intent-filter>
142 <action android:name="android.media.action.STILL_IMAGE_CAMERA_SECURE" />
Sascha Haeberling8e963a52013-08-06 11:43:02 -0700143
Wu-cheng Lic7e76d52012-09-17 17:32:59 +0800144 <category android:name="android.intent.category.DEFAULT" />
145 </intent-filter>
Wu-cheng Lifb5c8122012-09-25 11:20:27 +0800146 <intent-filter>
147 <action android:name="android.media.action.IMAGE_CAPTURE_SECURE" />
Sascha Haeberling8e963a52013-08-06 11:43:02 -0700148
Wu-cheng Lifb5c8122012-09-25 11:20:27 +0800149 <category android:name="android.intent.category.DEFAULT" />
150 </intent-filter>
Sascha Haeberling8e963a52013-08-06 11:43:02 -0700151
152 <meta-data
153 android:name="com.android.keyguard.layout"
154 android:resource="@layout/keyguard_widget" />
Wu-cheng Lic7e76d52012-09-17 17:32:59 +0800155 </activity>
156
kaiyiz15f6eac2015-01-15 17:19:29 +0800157 <activity-alias
158 android:name="com.android.camera.CameraGestureActivity"
kaiyiz15f6eac2015-01-15 17:19:29 +0800159 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
nicolasroard19ab7252013-09-18 16:54:05 -0700167 <activity
168 android:name="com.android.camera.crop.CropActivity"
Sascha Haeberlingc4aa7c02013-09-30 14:12:39 -0700169 android:label="@string/crop_action"
nicolasroard19ab7252013-09-18 16:54:05 -0700170 android:theme="@style/Theme.Crop"
171 android:configChanges="keyboardHidden|orientation|screenSize">
nicolasroard19ab7252013-09-18 16:54:05 -0700172 </activity>
173
Likai Ding762b4352014-12-10 18:09:27 +0800174 <activity
175 android:name="com.android.camera.RefocusActivity"
176 android:configChanges="keyboardHidden|orientation|screenSize">
177 </activity>
178
Jack Yoo2fceef12016-06-30 14:16:44 -0700179 <activity
180 android:name="com.android.camera.BestpictureActivity"
181 android:configChanges="keyboardHidden|orientation|screenSize">
182 </activity>
183
Mangesh Ghiware0270ab72013-08-14 11:03:39 -0700184 <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 E6f0cdc82013-11-13 11:09:20 +0530189 <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 Ghiware0270ab72013-08-14 11:03:39 -0700194
Angus Kongf4bfce22013-01-29 17:43:48 -0800195 <service android:name="com.android.camera.MediaSaveService" />
Owen Linb540ef12011-08-17 22:07:43 +0800196 </application>
Sascha Haeberling8e963a52013-08-06 11:43:02 -0700197
Angus Kongb50b5cb2013-08-09 14:55:20 -0700198</manifest>