diff options
author | cretin45 <cretin45@gmail.com> | 2015-07-15 16:45:25 -0700 |
---|---|---|
committer | cretin45 <cretin45@gmail.com> | 2015-07-15 16:50:24 -0700 |
commit | 0e0c914cd521dfeaaea26f28ded6df88be48f195 (patch) | |
tree | 396cd1dd67edec45f138e03ee0c3289c8c4c1150 /slim_manifest | |
parent | fe5101b02cd558cc5f20e8343972ec327dc23fdb (diff) | |
download | android_packages_apps_Gallery2-0e0c914cd521dfeaaea26f28ded6df88be48f195.tar.gz android_packages_apps_Gallery2-0e0c914cd521dfeaaea26f28ded6df88be48f195.tar.bz2 android_packages_apps_Gallery2-0e0c914cd521dfeaaea26f28ded6df88be48f195.zip |
Gallery2: Intents for image/video directory viewing/picking
GalleryNext can't view media provider directory cursors. Include these intents in the slim manifest for cyngn builds.
Change-Id: I31518411c6664fe2e194f40862084bf2c9b59c9f
Ticket: CYNGNOS-167
Diffstat (limited to 'slim_manifest')
-rw-r--r-- | slim_manifest/AndroidManifest.xml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/slim_manifest/AndroidManifest.xml b/slim_manifest/AndroidManifest.xml index 1359310c0..e515319e9 100644 --- a/slim_manifest/AndroidManifest.xml +++ b/slim_manifest/AndroidManifest.xml @@ -67,6 +67,28 @@ android:supportsRtl="true"> <uses-library android:name="com.google.android.media.effects" android:required="false" /> + <activity android:name="com.android.gallery3d.app.GalleryActivity" + android:label="@string/app_name" + android:configChanges="keyboardHidden|orientation|screenSize"> + <intent-filter> + <action android:name="android.intent.action.GET_CONTENT" /> + <category android:name="android.intent.category.OPENABLE" /> + <data android:mimeType="vnd.android.cursor.dir/image" /> + </intent-filter> + <intent-filter> + <action android:name="android.intent.action.PICK" /> + <category android:name="android.intent.category.DEFAULT" /> + <data android:mimeType="vnd.android.cursor.dir/image" /> + <data android:mimeType="vnd.android.cursor.dir/video" /> + </intent-filter> + <intent-filter> + <action android:name="android.intent.action.VIEW" /> + <category android:name="android.intent.category.DEFAULT" /> + <data android:mimeType="vnd.android.cursor.dir/image" /> + <data android:mimeType="vnd.android.cursor.dir/video" /> + </intent-filter> + </activity> + <activity android:name="com.android.gallery3d.app.Wallpaper" android:configChanges="keyboardHidden|orientation|screenSize" android:theme="@style/android:Theme.Translucent.NoTitleBar"> |