Use an explicit intent for "Quick View"...
Define Intent.ACTION_QUICK_VIEW.
Change-Id: Iae85a2a6fe35cfd135ff1af6672d37cc6b33dce4
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java
index f786d2f..586f3cd 100644
--- a/core/java/android/content/Intent.java
+++ b/core/java/android/content/Intent.java
@@ -658,6 +658,15 @@
public static final String ACTION_DEFAULT = ACTION_VIEW;
/**
+ * Activity Action: Quick view the data.
+ * <p>Input: {@link #getData} is URI from which to retrieve data.
+ * <p>Output: nothing.
+ * @hide
+ */
+ @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
+ public static final String ACTION_QUICK_VIEW = "android.intent.action.QUICK_VIEW";
+
+ /**
* Used to indicate that some piece of data should be attached to some other
* place. For example, image data could be attached to a contact. It is up
* to the recipient to decide where the data should be attached; the intent