summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcretin45 <cretin45@gmail.com>2015-07-15 23:45:25 (GMT)
committercretin45 <cretin45@gmail.com>2015-07-15 23:50:24 (GMT)
commit0e0c914cd521dfeaaea26f28ded6df88be48f195 (patch)
tree396cd1dd67edec45f138e03ee0c3289c8c4c1150
parentfe5101b02cd558cc5f20e8343972ec327dc23fdb (diff)
downloadandroid_packages_apps_Gallery2-0e0c914cd521dfeaaea26f28ded6df88be48f195.zip
android_packages_apps_Gallery2-0e0c914cd521dfeaaea26f28ded6df88be48f195.tar.gz
android_packages_apps_Gallery2-0e0c914cd521dfeaaea26f28ded6df88be48f195.tar.bz2
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
-rw-r--r--slim_manifest/AndroidManifest.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/slim_manifest/AndroidManifest.xml b/slim_manifest/AndroidManifest.xml
index 1359310..e515319 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">