OSDN Git Service

Bring Gallery2 manifest into parity with CROP support
authorAlan Newberger <alann@google.com>
Thu, 18 Sep 2014 00:33:16 +0000 (17:33 -0700)
committerAlan Newberger <alann@google.com>
Thu, 18 Sep 2014 00:33:16 +0000 (17:33 -0700)
Gallery2 does not support http/https CROPping, so remove them
from manifest.

Tested app on device and confirmed Gallery2 is still successfully
a CROP app for content URIs after this modification.

Bug: 15919429
Change-Id: Ib0dacdbf3013d8a2f35a07a8ea0e15070ebdb2e7

AndroidManifest.xml

index 59da7ea..7c290c7 100644 (file)
             android:configChanges="keyboardHidden|orientation|screenSize">
            <intent-filter android:label="@string/crop_label">
                 <action android:name="com.android.camera.action.CROP" />
-                <data android:scheme="http" />
-                <data android:scheme="https" />
                 <data android:scheme="content" />
                 <data android:scheme="file" />
-                <data android:scheme="" />
                 <data android:mimeType="image/*" />
                 <category android:name="android.intent.category.DEFAULT" />
                 <category android:name="android.intent.category.ALTERNATIVE" />