blob: 8152f81939eabfb6b3f26e0e653673cec8eeceb9 [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"
Sascha Haeberling30239932013-08-28 14:51:53 -07004 package="com.android.camera2">
Owen Linb540ef12011-08-17 22:07:43 +08005
Sascha Haeberling8e963a52013-08-06 11:43:02 -07006 <uses-sdk
7 android:minSdkVersion="14"
8 android:targetSdkVersion="17" />
Owen Lin5d64c7d2012-10-16 10:22:54 +08009
Sascha Haeberlingb1e5e382013-10-02 17:17:29 -070010
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" />
Sascha Haeberlingb1e5e382013-10-02 17:17:29 -070022 <uses-permission android:name="android.permission.READ_CONTACTS" />
Owen Linb540ef12011-08-17 22:07:43 +080023 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
Chih-Chung Chang4f19a072012-03-12 16:04:59 +080024 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
Chih-Chung Chang00739432012-03-08 20:10:53 +080025 <uses-permission android:name="android.permission.RECORD_AUDIO" />
Owen Linb540ef12011-08-17 22:07:43 +080026 <uses-permission android:name="android.permission.SET_WALLPAPER" />
Sascha Haeberlingb1e5e382013-10-02 17:17:29 -070027 <uses-permission android:name="android.permission.SUBSCRIBED_FEEDS_READ" />
28 <uses-permission android:name="android.permission.SUBSCRIBED_FEEDS_WRITE" />
Owen Linb540ef12011-08-17 22:07:43 +080029 <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 Linb540ef12011-08-17 22:07:43 +080033 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
Chih-Chung Chang00739432012-03-08 20:10:53 +080034 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
Owen Linb540ef12011-08-17 22:07:43 +080035
Sascha Haeberling8e963a52013-08-06 11:43:02 -070036 <supports-screens
37 android:anyDensity="true"
38 android:largeScreens="true"
39 android:normalScreens="true"
40 android:smallScreens="false" />
Owen Linb540ef12011-08-17 22:07:43 +080041
Sascha Haeberling8e963a52013-08-06 11:43:02 -070042 <application
43 android:name="com.android.camera.app.CameraApp"
Sascha Haeberling8e963a52013-08-06 11:43:02 -070044 android:hardwareAccelerated="true"
45 android:icon="@mipmap/ic_launcher_camera"
Sascha Haeberling26145e52013-09-03 17:02:11 -070046 android:label="@string/app_name"
Sascha Haeberling8e963a52013-08-06 11:43:02 -070047 android:largeHeap="true"
48 android:logo="@mipmap/ic_launcher_camera"
49 android:restoreAnyVersion="true"
50 android:theme="@style/Theme.Camera" >
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"
55 android:icon="@mipmap/ic_launcher_camera"
Sascha Haeberling26145e52013-09-03 17:02:11 -070056 android:label="@string/app_name"
Mangesh Ghiware5df64b02013-09-18 18:25:26 -070057 android:logo="@mipmap/ic_launcher_gallery"
Sascha Haeberling8e963a52013-08-06 11:43:02 -070058 android:taskAffinity="com.android.camera.CameraActivity"
59 android:theme="@style/Theme.Camera"
60 android:windowSoftInputMode="stateAlwaysHidden|adjustPan" >
Michael Kolb645cf9f2012-09-10 15:14:56 -070061 <intent-filter>
Mangesh Ghiware9b12d9f2012-09-14 12:17:54 -070062 <action android:name="android.media.action.IMAGE_CAPTURE" />
63 <category android:name="android.intent.category.DEFAULT" />
64 </intent-filter>
65 <intent-filter>
Mangesh Ghiwarea03ff6f2012-09-14 00:10:41 -070066 <action android:name="android.media.action.STILL_IMAGE_CAMERA" />
Doris Liu2a7f44c2013-08-12 15:18:53 -070067 <category android:name="android.intent.category.DEFAULT" />
68 </intent-filter>
Mangesh Ghiware39640822013-08-16 16:49:32 -070069 <intent-filter>
70 <action android:name="android.intent.action.MAIN" />
71 <category android:name="android.intent.category.DEFAULT" />
72 </intent-filter>
Mangesh Ghiwareacd4e112013-08-13 17:10:58 -070073
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 Haeberling26145e52013-09-03 17:02:11 -070082 android:label="@string/app_name"
Mangesh Ghiwareacd4e112013-08-13 17:10:58 -070083 android:targetActivity="com.android.camera.CameraActivity">
Doris Liu2a7f44c2013-08-12 15:18:53 -070084 <intent-filter>
Sascha Haeberling8e963a52013-08-06 11:43:02 -070085 <action android:name="android.intent.action.MAIN" />
Mangesh Ghiwarea03ff6f2012-09-14 00:10:41 -070086
Sascha Haeberling8e963a52013-08-06 11:43:02 -070087 <category android:name="android.intent.category.DEFAULT" />
88 <category android:name="android.intent.category.LAUNCHER" />
89 </intent-filter>
Mangesh Ghiwareacd4e112013-08-13 17:10:58 -070090 </activity-alias>
Sascha Haeberling8e963a52013-08-06 11:43:02 -070091
Mangesh Ghiwaref32062e2013-09-25 14:46:30 -070092 <!-- 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 Haeberling8e963a52013-08-06 11:43:02 -0700108 <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 Haeberling26145e52013-09-03 17:02:11 -0700114 android:label="@string/app_name"
Sascha Haeberling8e963a52013-08-06 11:43:02 -0700115 android:taskAffinity="com.android.camera.SecureCameraActivity"
116 android:theme="@style/Theme.Camera"
117 android:windowSoftInputMode="stateAlwaysHidden|adjustPan" >
Wu-cheng Lic7e76d52012-09-17 17:32:59 +0800118 <intent-filter>
119 <action android:name="android.media.action.STILL_IMAGE_CAMERA_SECURE" />
Sascha Haeberling8e963a52013-08-06 11:43:02 -0700120
Wu-cheng Lic7e76d52012-09-17 17:32:59 +0800121 <category android:name="android.intent.category.DEFAULT" />
122 </intent-filter>
Wu-cheng Lifb5c8122012-09-25 11:20:27 +0800123 <intent-filter>
124 <action android:name="android.media.action.IMAGE_CAPTURE_SECURE" />
Sascha Haeberling8e963a52013-08-06 11:43:02 -0700125
Wu-cheng Lifb5c8122012-09-25 11:20:27 +0800126 <category android:name="android.intent.category.DEFAULT" />
127 </intent-filter>
Sascha Haeberling8e963a52013-08-06 11:43:02 -0700128
129 <meta-data
130 android:name="com.android.keyguard.layout"
131 android:resource="@layout/keyguard_widget" />
Wu-cheng Lic7e76d52012-09-17 17:32:59 +0800132 </activity>
133
nicolasroard19ab7252013-09-18 16:54:05 -0700134 <activity
135 android:name="com.android.camera.crop.CropActivity"
Sascha Haeberlingc4aa7c02013-09-30 14:12:39 -0700136 android:label="@string/crop_action"
nicolasroard19ab7252013-09-18 16:54:05 -0700137 android:theme="@style/Theme.Crop"
138 android:configChanges="keyboardHidden|orientation|screenSize">
nicolasroard19ab7252013-09-18 16:54:05 -0700139 </activity>
140
Mangesh Ghiware0270ab72013-08-14 11:03:39 -0700141 <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 Kongf4bfce22013-01-29 17:43:48 -0800147 <service android:name="com.android.camera.MediaSaveService" />
Owen Linb540ef12011-08-17 22:07:43 +0800148 </application>
Sascha Haeberling8e963a52013-08-06 11:43:02 -0700149
Angus Kongb50b5cb2013-08-09 14:55:20 -0700150</manifest>