blob: 0498a26f8a41dae6f1dc974d18920bb06fbce016 [file] [log] [blame]
Angus Kongb50b5cb2013-08-09 14:55:20 -07001<?xml version="1.0" encoding="utf-8"?>
2
Spike Sprague6a8acee2014-07-28 15:15:10 -07003<manifest
4 xmlns:android="http://schemas.android.com/apk/res/android"
Sascha Haeberling30239932013-08-28 14:51:53 -07005 package="com.android.camera2">
Owen Linb540ef12011-08-17 22:07:43 +08006
Sascha Haeberling8e963a52013-08-06 11:43:02 -07007 <uses-sdk
Sascha Haeberling8b942cc2013-12-10 10:51:22 -08008 android:minSdkVersion="19"
zafirad44cda2015-06-29 00:08:22 -05009 android:targetSdkVersion="23" />
Owen Lin5d64c7d2012-10-16 10:22:54 +080010
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" />
15 <uses-permission android:name="android.permission.BIND_WALLPAPER" />
Chih-Chung Chang00739432012-03-08 20:10:53 +080016 <uses-permission android:name="android.permission.CAMERA" />
Sascha Haeberlingb1e5e382013-10-02 17:17:29 -070017 <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
Owen Linb540ef12011-08-17 22:07:43 +080018 <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 Coenena453f332012-03-26 18:25:50 -070021 <uses-permission android:name="android.permission.NFC" />
Owen Linb540ef12011-08-17 22:07:43 +080022 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
Chih-Chung Chang4f19a072012-03-12 16:04:59 +080023 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
Chih-Chung Chang00739432012-03-08 20:10:53 +080024 <uses-permission android:name="android.permission.RECORD_AUDIO" />
Owen Linb540ef12011-08-17 22:07:43 +080025 <uses-permission android:name="android.permission.SET_WALLPAPER" />
Sascha Haeberlingb1e5e382013-10-02 17:17:29 -070026 <uses-permission android:name="android.permission.SUBSCRIBED_FEEDS_READ" />
27 <uses-permission android:name="android.permission.SUBSCRIBED_FEEDS_WRITE" />
Owen Linb540ef12011-08-17 22:07:43 +080028 <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 Linb540ef12011-08-17 22:07:43 +080032 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
Chih-Chung Chang00739432012-03-08 20:10:53 +080033 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
Owen Linb540ef12011-08-17 22:07:43 +080034
Sascha Haeberling8e963a52013-08-06 11:43:02 -070035 <supports-screens
36 android:anyDensity="true"
37 android:largeScreens="true"
38 android:normalScreens="true"
39 android:smallScreens="false" />
Owen Linb540ef12011-08-17 22:07:43 +080040
Sascha Haeberling8e963a52013-08-06 11:43:02 -070041 <application
42 android:name="com.android.camera.app.CameraApp"
Sascha Haeberling8e963a52013-08-06 11:43:02 -070043 android:hardwareAccelerated="true"
Alan Newbergerca5173d2014-09-11 14:39:22 -070044 android:icon="@mipmap/logo_camera_color_44in48dp"
Sascha Haeberling26145e52013-09-03 17:02:11 -070045 android:label="@string/app_name"
Sascha Haeberling8e963a52013-08-06 11:43:02 -070046 android:largeHeap="true"
Sascha Haeberling8e963a52013-08-06 11:43:02 -070047 android:restoreAnyVersion="true"
ztenghui3ec8d212013-11-05 15:23:12 -080048 android:supportsRtl="true"
Alex Klyubinbeb40ca2015-04-02 12:40:54 -070049 android:theme="@style/Theme.Camera"
50 android:usesCleartextTraffic="false" >
nicolasroardb4f11612012-09-27 12:20:11 -070051 <activity
Sascha Haeberling8e963a52013-08-06 11:43:02 -070052 android:name="com.android.camera.CameraActivity"
53 android:clearTaskOnLaunch="true"
54 android:configChanges="orientation|screenSize|keyboardHidden"
Sascha Haeberling26145e52013-09-03 17:02:11 -070055 android:label="@string/app_name"
Puneet Lall4de9b722014-09-25 15:05:47 -070056 android:launchMode="singleTask"
Sascha Haeberling8e963a52013-08-06 11:43:02 -070057 android:taskAffinity="com.android.camera.CameraActivity"
58 android:theme="@style/Theme.Camera"
59 android:windowSoftInputMode="stateAlwaysHidden|adjustPan" >
Michael Kolb645cf9f2012-09-10 15:14:56 -070060 <intent-filter>
Mangesh Ghiwarea03ff6f2012-09-14 00:10:41 -070061 <action android:name="android.media.action.STILL_IMAGE_CAMERA" />
Doris Liu2a7f44c2013-08-12 15:18:53 -070062 <category android:name="android.intent.category.DEFAULT" />
63 </intent-filter>
Mangesh Ghiware39640822013-08-16 16:49:32 -070064 <intent-filter>
65 <action android:name="android.intent.action.MAIN" />
66 <category android:name="android.intent.category.DEFAULT" />
67 </intent-filter>
Mangesh Ghiwareacd4e112013-08-13 17:10:58 -070068
69 <meta-data
70 android:name="com.android.keyguard.layout"
71 android:resource="@layout/keyguard_widget" />
72 </activity>
73
zafirad44cda2015-06-29 00:08:22 -050074 <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 Ghiwareacd4e112013-08-13 17:10:58 -070083 <activity-alias
84 android:name="com.android.camera.CameraLauncher"
Sascha Haeberling26145e52013-09-03 17:02:11 -070085 android:label="@string/app_name"
Mangesh Ghiwareacd4e112013-08-13 17:10:58 -070086 android:targetActivity="com.android.camera.CameraActivity">
Doris Liu2a7f44c2013-08-12 15:18:53 -070087 <intent-filter>
Sascha Haeberling8e963a52013-08-06 11:43:02 -070088 <action android:name="android.intent.action.MAIN" />
Mangesh Ghiwarea03ff6f2012-09-14 00:10:41 -070089
Sascha Haeberling8e963a52013-08-06 11:43:02 -070090 <category android:name="android.intent.category.DEFAULT" />
91 <category android:name="android.intent.category.LAUNCHER" />
92 </intent-filter>
Mangesh Ghiwareacd4e112013-08-13 17:10:58 -070093 </activity-alias>
Sascha Haeberling8e963a52013-08-06 11:43:02 -070094
Puneet Lall59d337b2014-10-08 16:36:20 -070095 <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 Ghiwaref32062e2013-09-25 14:46:30 -0700107 <!-- Video camera and capture use the Camcorder label and icon. -->
108 <activity-alias
109 android:name="com.android.camera.VideoCamera"
Mangesh Ghiwaref32062e2013-09-25 14:46:30 -0700110 android:label="@string/video_camera_label"
Puneet Lall59d337b2014-10-08 16:36:20 -0700111 android:targetActivity="com.android.camera.CaptureActivity">
Mangesh Ghiwaref32062e2013-09-25 14:46:30 -0700112 <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 Haeberling8e963a52013-08-06 11:43:02 -0700122 <activity
123 android:name="com.android.camera.SecureCameraActivity"
124 android:clearTaskOnLaunch="true"
125 android:configChanges="orientation|screenSize|keyboardHidden"
126 android:excludeFromRecents="true"
Sascha Haeberling26145e52013-09-03 17:02:11 -0700127 android:label="@string/app_name"
Sascha Haeberling8e963a52013-08-06 11:43:02 -0700128 android:taskAffinity="com.android.camera.SecureCameraActivity"
Alan Newberger31f89502015-01-14 14:10:05 -0800129 android:theme="@style/Theme.SecureCamera"
Sascha Haeberling8e963a52013-08-06 11:43:02 -0700130 android:windowSoftInputMode="stateAlwaysHidden|adjustPan" >
Wu-cheng Lic7e76d52012-09-17 17:32:59 +0800131 <intent-filter>
132 <action android:name="android.media.action.STILL_IMAGE_CAMERA_SECURE" />
Sascha Haeberling8e963a52013-08-06 11:43:02 -0700133
Wu-cheng Lic7e76d52012-09-17 17:32:59 +0800134 <category android:name="android.intent.category.DEFAULT" />
135 </intent-filter>
Wu-cheng Lifb5c8122012-09-25 11:20:27 +0800136 <intent-filter>
137 <action android:name="android.media.action.IMAGE_CAPTURE_SECURE" />
Sascha Haeberling8e963a52013-08-06 11:43:02 -0700138
Wu-cheng Lifb5c8122012-09-25 11:20:27 +0800139 <category android:name="android.intent.category.DEFAULT" />
140 </intent-filter>
Sascha Haeberling8e963a52013-08-06 11:43:02 -0700141
142 <meta-data
143 android:name="com.android.keyguard.layout"
144 android:resource="@layout/keyguard_widget" />
Wu-cheng Lic7e76d52012-09-17 17:32:59 +0800145 </activity>
146
nicolasroard19ab7252013-09-18 16:54:05 -0700147 <activity
Sascha Haeberlingde303232014-02-07 02:30:53 +0100148 android:name="com.android.camera.settings.CameraSettingsActivity"
Sascha Haeberling1ee68692014-02-14 12:05:13 +0100149 android:label="@string/mode_settings"
Sascha Haeberlingde303232014-02-07 02:30:53 +0100150 android:theme="@style/Theme.CameraSettings"
151 android:configChanges="keyboardHidden|orientation|screenSize">
152 </activity>
153
Mangesh Ghiware0270ab72013-08-14 11:03:39 -0700154 <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 Linb540ef12011-08-17 22:07:43 +0800159 </application>
Sascha Haeberling8e963a52013-08-06 11:43:02 -0700160
Angus Kongb50b5cb2013-08-09 14:55:20 -0700161</manifest>