• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2
3<manifest android:versionCode="40030"
4        android:versionName="1.1.40030"
5        xmlns:android="http://schemas.android.com/apk/res/android"
6        package="com.android.gallery3d">
7
8    <original-package android:name="com.android.gallery3d" />
9
10    <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="29" />
11
12    <permission android:name="com.android.gallery3d.permission.GALLERY_PROVIDER"
13            android:protectionLevel="signatureOrSystem" />
14
15    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
16    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
17    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
18    <uses-permission android:name="android.permission.CAMERA" />
19    <uses-permission android:name="android.permission.GET_ACCOUNTS" />
20    <uses-permission android:name="android.permission.INTERNET" />
21    <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
22    <uses-permission android:name="android.permission.NFC" />
23    <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
24    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
25    <uses-permission android:name="android.permission.RECORD_AUDIO" />
26    <uses-permission android:name="android.permission.SET_WALLPAPER" />
27    <uses-permission android:name="android.permission.USE_CREDENTIALS" />
28    <uses-permission android:name="android.permission.VIBRATE" />
29    <uses-permission android:name="android.permission.WAKE_LOCK" />
30    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
31    <uses-permission android:name="android.permission.WRITE_SETTINGS" />
32    <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
33    <uses-permission android:name="com.android.gallery3d.permission.GALLERY_PROVIDER" />
34
35    <supports-screens android:smallScreens="false"
36            android:normalScreens="true" android:largeScreens="true"
37            android:anyDensity="true" />
38
39    <application android:icon="@mipmap/ic_launcher_gallery" android:label="@string/app_name"
40            android:name="com.android.gallery3d.app.GalleryAppImpl"
41            android:theme="@style/Theme.Gallery"
42            android:logo="@mipmap/ic_launcher_gallery"
43            android:hardwareAccelerated="true"
44            android:largeHeap="true"
45            android:restoreAnyVersion="true"
46            android:supportsRtl="true"
47            android:requestLegacyExternalStorage="true"
48            usesCleartextHttp="true">
49        <uses-library android:name="com.google.android.media.effects" android:required="false" />
50        <uses-library android:name="org.apache.http.legacy" android:required="false" />
51        <activity android:name="com.android.gallery3d.app.MovieActivity"
52                android:label="@string/movie_view_label"
53                android:exported="true"
54                android:configChanges="orientation|keyboardHidden|screenSize">
55            <intent-filter>
56                <action android:name="android.intent.action.VIEW" />
57                <category android:name="android.intent.category.DEFAULT" />
58                <category android:name="android.intent.category.BROWSABLE" />
59                <data android:scheme="rtsp" />
60             </intent-filter>
61             <intent-filter>
62                <action android:name="android.intent.action.VIEW" />
63                <category android:name="android.intent.category.DEFAULT" />
64                <category android:name="android.intent.category.BROWSABLE" />
65                <data android:scheme="http" />
66                <data android:scheme="https" />
67                <data android:scheme="content" />
68                <data android:scheme="file" />
69                <data android:mimeType="video/mpeg4" />
70                <data android:mimeType="video/mp4" />
71                <data android:mimeType="video/3gp" />
72                <data android:mimeType="video/3gpp" />
73                <data android:mimeType="video/3gpp2" />
74                <data android:mimeType="video/webm" />
75                <data android:mimeType="video/avi" />
76             </intent-filter>
77             <intent-filter>
78                <!-- HTTP live support -->
79                <action android:name="android.intent.action.VIEW" />
80                <category android:name="android.intent.category.DEFAULT" />
81                <category android:name="android.intent.category.BROWSABLE" />
82                <data android:scheme="http" />
83                <data android:scheme="https" />
84                <data android:mimeType="audio/x-mpegurl" />
85                <data android:mimeType="audio/mpegurl" />
86                <data android:mimeType="application/vnd.apple.mpegurl" />
87                <data android:mimeType="application/x-mpegurl" />
88             </intent-filter>
89        </activity>
90
91        <activity android:name="com.android.gallery3d.app.GalleryActivity" android:label="@string/app_name"
92                android:exported="true"
93                android:configChanges="keyboardHidden|orientation|screenSize">
94            <intent-filter>
95                <action android:name="android.intent.action.MAIN" />
96                <category android:name="android.intent.category.DEFAULT" />
97                <category android:name="android.intent.category.LAUNCHER" />
98                <category android:name="android.intent.category.APP_GALLERY" />
99            </intent-filter>
100            <intent-filter>
101                <action android:name="android.intent.action.GET_CONTENT" />
102                <category android:name="android.intent.category.OPENABLE" />
103                <data android:mimeType="vnd.android.cursor.dir/image" />
104            </intent-filter>
105            <intent-filter>
106                <action android:name="android.intent.action.GET_CONTENT" />
107                <category android:name="android.intent.category.OPENABLE" />
108                <category android:name="android.intent.category.DEFAULT" />
109                <data android:mimeType="image/*" />
110                <data android:mimeType="video/*" />
111            </intent-filter>
112            <!-- We do NOT support the PICK intent, we add these intent-filter for
113                 backward compatibility. Handle it as GET_CONTENT. -->
114            <intent-filter>
115                <action android:name="android.intent.action.PICK" />
116                <category android:name="android.intent.category.DEFAULT" />
117                <data android:mimeType="image/*" />
118                <data android:mimeType="video/*" />
119            </intent-filter>
120            <intent-filter>
121                <action android:name="android.intent.action.PICK" />
122                <category android:name="android.intent.category.DEFAULT" />
123                <data android:mimeType="vnd.android.cursor.dir/image" />
124                <data android:mimeType="vnd.android.cursor.dir/video" />
125            </intent-filter>
126            <intent-filter>
127                <action android:name="android.intent.action.VIEW" />
128                <category android:name="android.intent.category.DEFAULT" />
129                <data android:mimeType="vnd.android.cursor.dir/image" />
130                <data android:mimeType="vnd.android.cursor.dir/video" />
131            </intent-filter>
132            <intent-filter>
133                <action android:name="android.intent.action.VIEW" />
134                <action android:name="com.android.camera.action.REVIEW" />
135                <category android:name="android.intent.category.DEFAULT" />
136                <category android:name="android.intent.category.BROWSABLE" />
137                <data android:scheme="" />
138                <data android:scheme="http" />
139                <data android:scheme="https" />
140                <data android:scheme="content" />
141                <data android:scheme="file" />
142                <data android:mimeType="image/*" />
143                <data android:mimeType="application/vnd.google.panorama360+jpg" />
144            </intent-filter>
145            <intent-filter>
146                <action android:name="com.android.camera.action.REVIEW" />
147                <category android:name="android.intent.category.DEFAULT" />
148                <category android:name="android.intent.category.BROWSABLE" />
149                <data android:scheme="http" />
150                <data android:scheme="https" />
151                <data android:scheme="content" />
152                <data android:scheme="file" />
153                <data android:mimeType="video/mpeg4" />
154                <data android:mimeType="video/mp4" />
155                <data android:mimeType="video/3gp" />
156                <data android:mimeType="video/3gpp" />
157                <data android:mimeType="video/3gpp2" />
158            </intent-filter>
159        </activity>
160
161        <!-- This activity acts as a trampoline to the new Gallery activity,
162             so that existing shortcuts are preserved. -->
163        <activity android:name="com.android.gallery3d.app.Gallery"
164            android:exported="true"
165            android:theme="@style/android:Theme.NoDisplay">
166            <intent-filter>
167                <action android:name="android.intent.action.MAIN" />
168                <category android:name="android.intent.category.DEFAULT" />
169            </intent-filter>
170        </activity>
171
172        <!-- we add this activity-alias for shortcut backward compatibility -->
173        <!-- Note: The alias must put after the target activity -->
174        <activity-alias android:name="com.cooliris.media.Gallery"
175                android:targetActivity="com.android.gallery3d.app.GalleryActivity"
176                android:configChanges="keyboardHidden|orientation|screenSize"
177                android:exported="true"
178                android:label="@string/app_name">
179            <intent-filter>
180                <action android:name="android.intent.action.MAIN" />
181            </intent-filter>
182        </activity-alias>
183
184        <!-- This activity acts as a trampoline to the new Camera activity
185             in com.android.camera2 package, so that existing shortcuts
186             are preserved. -->
187        <activity android:name="com.android.camera.CameraActivity"
188            android:icon="@mipmap/ic_launcher_camera"
189            android:label="@string/camera_label"
190            android:taskAffinity="com.android.camera.CameraActivity"
191            android:theme="@style/android:Theme.NoDisplay" />
192        <activity-alias android:name="com.android.camera.CameraLauncher"
193            android:label="@string/camera_label"
194            android:exported="true"
195            android:targetActivity="com.android.camera.CameraActivity">
196            <intent-filter>
197                <action android:name="android.intent.action.MAIN" />
198                <category android:name="android.intent.category.DEFAULT" />
199            </intent-filter>
200        </activity-alias>
201
202         <!-- This activity receives USB_DEVICE_ATTACHED intents and allows importing
203         media from attached MTP devices, like cameras and camera phones -->
204        <activity android:launchMode="singleInstance"
205            android:taskAffinity="" android:name="com.android.gallery3d.ingest.IngestActivity"
206            android:configChanges="orientation|screenSize"
207            android:exported="true"
208            android:label="@string/app_name">
209            <intent-filter>
210                <action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />
211            </intent-filter>
212            <meta-data android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED"
213                android:resource="@xml/device_filter" />
214        </activity>
215        <service android:name="com.android.gallery3d.ingest.IngestService" />
216
217        <activity android:name="com.android.gallery3d.app.Wallpaper"
218                android:configChanges="keyboardHidden|orientation|screenSize"
219                android:exported="true"
220                android:theme="@style/android:Theme.Translucent.NoTitleBar">
221            <intent-filter android:label="@string/camera_setas_wallpaper">
222                <action android:name="android.intent.action.ATTACH_DATA" />
223                <data android:mimeType="image/*" />
224                <category android:name="android.intent.category.DEFAULT" />
225            </intent-filter>
226            <intent-filter android:label="@string/app_name">
227                <action android:name="android.intent.action.SET_WALLPAPER" />
228                <category android:name="android.intent.category.DEFAULT" />
229            </intent-filter>
230            <meta-data android:name="android.wallpaper.preview"
231                    android:resource="@xml/wallpaper_picker_preview" />
232        </activity>
233        <activity android:name="com.android.gallery3d.app.TrimVideo"
234                android:exported="true"
235                android:label="@string/trim_label">
236            <intent-filter android:label="@string/crop_label">
237                <action android:name="com.android.camera.action.TRIM" />
238                <category android:name="android.intent.category.DEFAULT" />
239                <data android:scheme="content" />
240                <data android:scheme="file" />
241                <data android:mimeType="video/*" />
242            </intent-filter>
243        </activity>
244
245        <provider
246            android:name="com.android.gallery3d.filtershow.provider.SharedImageProvider"
247            android:authorities="com.android.gallery3d.filtershow.provider.SharedImageProvider"
248            android:grantUriPermissions="true"
249            android:readPermission="com.android.gallery3d.filtershow.permission.READ"
250            android:writePermission="com.android.gallery3d.filtershow.permission.WRITE" />
251
252        <service
253                android:name=".filtershow.pipeline.ProcessingService"
254                android:exported="false" />
255
256        <activity
257            android:name="com.android.gallery3d.filtershow.FilterShowActivity"
258            android:label="@string/title_activity_filter_show"
259            android:theme="@style/Theme.FilterShow"
260            android:exported="true"
261            android:configChanges="keyboardHidden|orientation|screenSize">
262            <intent-filter>
263                <action android:name="android.intent.action.EDIT" />
264                <category android:name="android.intent.category.DEFAULT" />
265                <data android:mimeType="image/*" />
266            </intent-filter>
267            <intent-filter>
268                <action android:name="action_nextgen_edit" />
269                <category android:name="android.intent.category.DEFAULT" />
270                <data android:mimeType="image/*" />
271            </intent-filter>
272        </activity>
273
274        <activity
275            android:name="com.android.gallery3d.filtershow.crop.CropActivity"
276            android:label="@string/crop"
277            android:theme="@style/Theme.Crop"
278            android:exported="true"
279            android:configChanges="keyboardHidden|orientation|screenSize">
280           <intent-filter android:label="@string/crop_label">
281                <action android:name="com.android.camera.action.CROP" />
282                <data android:scheme="content" />
283                <data android:scheme="file" />
284                <data android:mimeType="image/*" />
285                <category android:name="android.intent.category.DEFAULT" />
286                <category android:name="android.intent.category.ALTERNATIVE" />
287                <category android:name="android.intent.category.SELECTED_ALTERNATIVE" />
288            </intent-filter>
289        </activity>
290
291        <uses-library android:name="com.google.android.media.effects"
292                android:required="false" />
293
294        <activity android:name="com.android.gallery3d.settings.GallerySettings"
295                android:theme="@style/Theme.Gallery"
296                android:configChanges="orientation|keyboardHidden|screenSize" />
297
298        <provider android:name="com.android.gallery3d.provider.GalleryProvider"
299                android:syncable="false"
300                android:grantUriPermissions="true"
301                android:exported="true"
302                android:permission="com.android.gallery3d.permission.GALLERY_PROVIDER"
303                android:authorities="com.android.gallery3d.provider" />
304        <provider
305                android:name="com.android.photos.data.PhotoProvider"
306                android:authorities="com.android.gallery3d.photoprovider"
307                android:syncable="false"
308                android:exported="false"/>
309        <activity android:name="com.android.gallery3d.gadget.WidgetClickHandler" />
310        <activity android:name="com.android.gallery3d.app.DialogPicker"
311                android:configChanges="keyboardHidden|orientation|screenSize"
312                android:theme="@style/DialogPickerTheme"/>
313        <activity android:name="com.android.gallery3d.app.AlbumPicker"
314                android:configChanges="keyboardHidden|orientation|screenSize"
315                android:theme="@style/DialogPickerTheme"/>
316        <activity android:name="com.android.gallery3d.gadget.WidgetTypeChooser"
317                android:configChanges="keyboardHidden|orientation|screenSize"
318                android:theme="@style/Theme.Gallery.Dialog"/>
319
320        <receiver android:name="com.android.gallery3d.gadget.PhotoAppWidgetProvider"
321                android:exported="true"
322                android:label="@string/appwidget_title">
323            <intent-filter>
324                <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
325            </intent-filter>
326            <meta-data android:name="android.appwidget.provider"
327                    android:resource="@xml/widget_info" />
328        </receiver>
329        <receiver android:name="com.android.gallery3d.app.PackagesMonitor"
330            android:exported="true">
331            <intent-filter>
332                <action android:name="android.intent.action.PACKAGE_ADDED"/>
333                <action android:name="android.intent.action.PACKAGE_REMOVED"/>
334                <action android:name="android.intent.action.PACKAGE_CHANGED"/>
335                <data android:scheme="package"/>
336            </intent-filter>
337        </receiver>
338        <service android:name="com.android.gallery3d.app.PackagesMonitor$AsyncService"
339                 android:permission="android.permission.BIND_JOB_SERVICE"
340                 android:exported="true"/>
341        <service android:name="com.android.gallery3d.gadget.WidgetService"
342                android:permission="android.permission.BIND_REMOTEVIEWS"/>
343        <activity android:name="com.android.gallery3d.gadget.WidgetConfigure"
344                android:configChanges="keyboardHidden|orientation|screenSize"
345                android:exported="true"
346                android:theme="@style/android:Theme.Translucent.NoTitleBar">
347            <intent-filter>
348                <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
349            </intent-filter>
350        </activity>
351        <service android:name="com.android.gallery3d.app.BatchService" />
352
353        <receiver android:name="com.android.camera.DisableCameraReceiver"
354            android:exported="true">
355            <intent-filter>
356                <action android:name="android.intent.action.BOOT_COMPLETED" />
357            </intent-filter>
358        </receiver>
359
360        <service android:name="com.android.camera.MediaSaveService" />
361    </application>
362</manifest>
363