1<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2        package="com.android.gallery"
3        android:sharedUserId="android.media">
4    <uses-sdk android:targetSdkVersion="10" android:minSdkVersion="10" />
5    <original-package android:name="com.android.gallery" />
6
7    <uses-permission android:name="android.permission.CAMERA" />
8    <uses-feature android:name="android.hardware.camera" />
9    <uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />
10
11    <uses-permission android:name="android.permission.RECORD_AUDIO" />
12    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
13    <uses-permission android:name="android.permission.WAKE_LOCK" />
14    <uses-permission android:name="android.permission.SET_WALLPAPER" />
15    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
16    <uses-permission android:name="android.permission.READ_SMS" />
17
18    <application android:icon="@drawable/ic_launcher_camera"
19            android:label="@string/camera_label"
20            android:taskAffinity="">
21        <activity android:name="com.android.camera.GalleryPicker"
22                android:label="@string/gallery_picker_label"
23                android:configChanges="orientation|keyboardHidden"
24                android:icon="@drawable/ic_launcher_gallery"
25                android:clearTaskOnLaunch="true"
26                android:exported="true"
27                android:taskAffinity="android.task.pictures">
28            <intent-filter>
29                <action android:name="android.intent.action.MAIN" />
30                <category android:name="android.intent.category.DEFAULT" />
31                <category android:name="android.intent.category.LAUNCHER" />
32            </intent-filter>
33        </activity>
34        <activity android:name="com.android.camera.ImageGallery"
35                android:label="@string/gallery_label"
36                android:configChanges="orientation|keyboardHidden"
37                android:exported="true"
38                android:icon="@drawable/ic_launcher_gallery">
39            <intent-filter>
40                <action android:name="android.intent.action.MAIN" />
41                <category android:name="android.intent.category.DEFAULT" />
42            </intent-filter>
43            <intent-filter>
44                <action android:name="android.intent.action.VIEW" />
45                <category android:name="android.intent.category.DEFAULT" />
46                <data android:mimeType="vnd.android.cursor.dir/image" />
47            </intent-filter>
48            <intent-filter>
49                <action android:name="android.intent.action.VIEW" />
50                <category android:name="android.intent.category.DEFAULT" />
51                <data android:mimeType="vnd.android.cursor.dir/video" />
52            </intent-filter>
53            <intent-filter>
54                <action android:name="android.intent.action.GET_CONTENT" />
55                <category android:name="android.intent.category.OPENABLE" />
56                <data android:mimeType="vnd.android.cursor.dir/image" />
57            </intent-filter>
58            <intent-filter>
59                <action android:name="android.intent.action.GET_CONTENT" />
60                <category android:name="android.intent.category.OPENABLE" />
61                <category android:name="android.intent.category.DEFAULT" />
62                <data android:mimeType="image/*" />
63                <data android:mimeType="video/*" />
64            </intent-filter>
65            <intent-filter>
66                <action android:name="android.intent.action.PICK" />
67                <category android:name="android.intent.category.DEFAULT" />
68                <data android:mimeType="image/*" />
69                <data android:mimeType="video/*" />
70            </intent-filter>
71            <intent-filter>
72                <action android:name="android.intent.action.PICK" />
73                <category android:name="android.intent.category.DEFAULT" />
74                <data android:mimeType="vnd.android.cursor.dir/image" />
75            </intent-filter>
76        </activity>
77        <activity
78            android:name="com.android.camera.CropImage"
79            android:process=":CropImage"
80            android:configChanges="orientation|keyboardHidden"
81            android:exported="true"
82            android:label="@string/crop_label">
83            <intent-filter android:label="@string/crop_label">
84                <action android:name="com.android.camera.action.CROP" />
85                <data android:mimeType="image/*" />
86                <category android:name="android.intent.category.DEFAULT" />
87                <category android:name="android.intent.category.ALTERNATIVE" />
88                <category android:name="android.intent.category.SELECTED_ALTERNATIVE" />
89            </intent-filter>
90        </activity>
91        <activity android:name="com.android.camera.ViewImage"
92                android:label="@string/view_label"
93                android:screenOrientation="behind"
94                android:exported="true"
95                android:configChanges="orientation|keyboardHidden">
96            <intent-filter>
97                <action android:name="android.intent.action.VIEW" />
98                <category android:name="android.intent.category.DEFAULT" />
99                <data android:mimeType="image/*" />
100            </intent-filter>
101        </activity>
102        <activity android:name="com.android.camera.MovieView"
103                android:label="@string/movieviewlabel"
104                android:screenOrientation="landscape"
105                android:configChanges="orientation|keyboardHidden"
106                android:exported="true"
107                android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen">
108             <intent-filter>
109                <action android:name="android.intent.action.VIEW" />
110                <category android:name="android.intent.category.DEFAULT" />
111                <category android:name="android.intent.category.BROWSABLE" />
112                <data android:scheme="rtsp" />
113             </intent-filter>
114             <intent-filter>
115                <action android:name="android.intent.action.VIEW" />
116                <category android:name="android.intent.category.DEFAULT" />
117                <data android:mimeType="video/*" />
118                <data android:mimeType="application/sdp" />
119             </intent-filter>
120             <intent-filter>
121                <action android:name="android.intent.action.VIEW" />
122                <category android:name="android.intent.category.DEFAULT" />
123                <category android:name="android.intent.category.BROWSABLE" />
124                <data android:scheme="http" />
125                <data android:mimeType="video/mp4" />
126                <data android:mimeType="video/3gp" />
127                <data android:mimeType="video/3gpp" />
128                <data android:mimeType="video/3gpp2" />
129             </intent-filter>
130        </activity>
131        <activity android:name="com.android.camera.DeleteImage"
132                android:label="@string/delete_images_message"
133                android:theme="@style/Theme.DeleteImageDialog">
134        </activity>
135
136        <activity android:name="com.android.camera.GallerySettings"
137                android:exported="true"
138                android:label="@string/preferences_label">
139            <intent-filter>
140                <action android:name="android.intent.action.MAIN" />
141                <category android:name="android.intent.category.DEVELOPMENT_PREFERENCE" />
142            </intent-filter>
143        </activity>
144
145        <activity android:name="com.android.camera.Wallpaper"
146                android:label="@string/camera_setas_wallpaper"
147                android:exported="true"
148                android:icon="@drawable/ic_launcher_gallery">
149            <intent-filter>
150                <action android:name="android.intent.action.ATTACH_DATA" />
151                <data android:mimeType="image/*" />
152                <category android:name="android.intent.category.DEFAULT" />
153            </intent-filter>
154        </activity>
155
156        <activity android:name="com.android.camera.PickWallpaper"
157                android:label="@string/camera_pick_wallpaper"
158                android:exported="true"
159                android:icon="@drawable/ic_launcher_gallery">
160            <intent-filter>
161                <action android:name="android.intent.action.SET_WALLPAPER" />
162                <category android:name="android.intent.category.DEFAULT" />
163            </intent-filter>
164        </activity>
165        <receiver android:name="com.android.camera.PhotoAppWidgetProvider"
166                android:label="@string/gadget_title"
167                android:exported="true"
168                android:icon="@drawable/ic_launcher_gallery">
169            <intent-filter>
170                <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
171            </intent-filter>
172            <meta-data android:name="android.appwidget.provider"
173                    android:resource="@xml/appwidget_info" />
174        </receiver>
175
176        <!-- We configure a widget by asking to pick a photo, then crop it, and store the config internally -->
177        <activity android:name="com.android.camera.PhotoAppWidgetConfigure"
178            android:exported="true">
179            <intent-filter>
180                <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
181            </intent-filter>
182        </activity>
183
184        <!-- We also allow direct binding where the caller provides a bitmap and
185             appWidgetId to bind.  We require the permission because this changes our
186             internal database without user confirmation. -->
187        <activity android:name="com.android.camera.PhotoAppWidgetBind"
188                android:exported="true"
189                android:theme="@android:style/Theme.NoDisplay"
190                android:permission="android.permission.BIND_APPWIDGET" />
191
192    </application>
193</manifest>
194
195