Loading api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -9966,6 +9966,7 @@ package android.content { } public class QuickViewConstants { field public static final java.lang.String FEATURE_DELETE = "android:delete"; field public static final java.lang.String FEATURE_DOWNLOAD = "android:download"; field public static final java.lang.String FEATURE_EDIT = "android:edit"; field public static final java.lang.String FEATURE_PRINT = "android:print"; core/java/android/content/Intent.java +3 −2 Original line number Diff line number Diff line Loading @@ -4905,8 +4905,9 @@ public class Intent implements Parcelable, Cloneable { * <li>Enumeration of features here is not meant to restrict capabilities of the quick viewer. * Quick viewer can implement features not listed below. * <li>Features included at this time are: {@link QuickViewConstants#FEATURE_VIEW}, * {@link QuickViewConstants#FEATURE_EDIT}, {@link QuickViewConstants#FEATURE_DOWNLOAD}, * {@link QuickViewConstants#FEATURE_SEND}, {@link QuickViewConstants#FEATURE_PRINT}. * {@link QuickViewConstants#FEATURE_EDIT}, {@link QuickViewConstants#FEATURE_DELETE}, * {@link QuickViewConstants#FEATURE_DOWNLOAD}, {@link QuickViewConstants#FEATURE_SEND}, * {@link QuickViewConstants#FEATURE_PRINT}. * <p> * Requirements: * <li>Quick viewer shouldn't show a feature if the feature is absent in Loading core/java/android/content/QuickViewConstants.java +10 −1 Original line number Diff line number Diff line Loading @@ -33,7 +33,7 @@ public class QuickViewConstants { public static final String FEATURE_VIEW = "android:view"; /** * Feature to view a document using system standard editing mechanism, like * Feature to edit a document using system standard editing mechanism, like * {@link Intent#ACTION_EDIT}. * * @see Intent#EXTRA_QUICK_VIEW_FEATURES Loading @@ -41,6 +41,15 @@ public class QuickViewConstants { */ public static final String FEATURE_EDIT = "android:edit"; /** * Feature to delete an individual document. Quick viewer implementations must use * Storage Access Framework to both verify delete permission and to delete content. * * @see DocumentsContract#Document#FLAG_SUPPORTS_DELETE * @see DocumentsContract#deleteDocument(ContentResolver resolver, Uri documentUri) */ public static final String FEATURE_DELETE = "android:delete"; /** * Feature to view a document using system standard sending mechanism, like * {@link Intent#ACTION_SEND}. Loading Loading
api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -9966,6 +9966,7 @@ package android.content { } public class QuickViewConstants { field public static final java.lang.String FEATURE_DELETE = "android:delete"; field public static final java.lang.String FEATURE_DOWNLOAD = "android:download"; field public static final java.lang.String FEATURE_EDIT = "android:edit"; field public static final java.lang.String FEATURE_PRINT = "android:print";
core/java/android/content/Intent.java +3 −2 Original line number Diff line number Diff line Loading @@ -4905,8 +4905,9 @@ public class Intent implements Parcelable, Cloneable { * <li>Enumeration of features here is not meant to restrict capabilities of the quick viewer. * Quick viewer can implement features not listed below. * <li>Features included at this time are: {@link QuickViewConstants#FEATURE_VIEW}, * {@link QuickViewConstants#FEATURE_EDIT}, {@link QuickViewConstants#FEATURE_DOWNLOAD}, * {@link QuickViewConstants#FEATURE_SEND}, {@link QuickViewConstants#FEATURE_PRINT}. * {@link QuickViewConstants#FEATURE_EDIT}, {@link QuickViewConstants#FEATURE_DELETE}, * {@link QuickViewConstants#FEATURE_DOWNLOAD}, {@link QuickViewConstants#FEATURE_SEND}, * {@link QuickViewConstants#FEATURE_PRINT}. * <p> * Requirements: * <li>Quick viewer shouldn't show a feature if the feature is absent in Loading
core/java/android/content/QuickViewConstants.java +10 −1 Original line number Diff line number Diff line Loading @@ -33,7 +33,7 @@ public class QuickViewConstants { public static final String FEATURE_VIEW = "android:view"; /** * Feature to view a document using system standard editing mechanism, like * Feature to edit a document using system standard editing mechanism, like * {@link Intent#ACTION_EDIT}. * * @see Intent#EXTRA_QUICK_VIEW_FEATURES Loading @@ -41,6 +41,15 @@ public class QuickViewConstants { */ public static final String FEATURE_EDIT = "android:edit"; /** * Feature to delete an individual document. Quick viewer implementations must use * Storage Access Framework to both verify delete permission and to delete content. * * @see DocumentsContract#Document#FLAG_SUPPORTS_DELETE * @see DocumentsContract#deleteDocument(ContentResolver resolver, Uri documentUri) */ public static final String FEATURE_DELETE = "android:delete"; /** * Feature to view a document using system standard sending mechanism, like * {@link Intent#ACTION_SEND}. Loading