diff options
| author | 2012-08-24 00:07:30 -0700 | |
|---|---|---|
| committer | 2012-08-24 00:07:32 -0700 | |
| commit | dad32938cd22c82ae54d0555d205f33c8462e3fb (patch) | |
| tree | 60787a5f36f42f90fec4a0428a6d97918aa8ff2f | |
| parent | 5d1a61ca1e8da78d22a4fe0ce5c84f788ab1d5f8 (diff) | |
| parent | f88320558fcf39ef23c7d5b63c0ba60e1943d9ff (diff) | |
Merge "Add INTENT_ACTION_STILL_IMAGE_CAMERA_SECURE intent." into jb-mr1-dev
| -rw-r--r-- | core/java/android/provider/MediaStore.java | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/core/java/android/provider/MediaStore.java b/core/java/android/provider/MediaStore.java index 79d014410e95..48d84c14c9bd 100644 --- a/core/java/android/provider/MediaStore.java +++ b/core/java/android/provider/MediaStore.java @@ -120,7 +120,7 @@ public final class MediaStore { */ public static final String INTENT_ACTION_MEDIA_PLAY_FROM_SEARCH = "android.media.action.MEDIA_PLAY_FROM_SEARCH"; - + /** * The name of the Intent-extra used to define the artist */ @@ -173,6 +173,23 @@ public final class MediaStore { public static final String INTENT_ACTION_STILL_IMAGE_CAMERA = "android.media.action.STILL_IMAGE_CAMERA"; /** + * The name of the Intent action used to launch a camera in still image mode + * for use when the device is secured (e.g. with a pin, password, pattern, + * or face unlock). Applications responding to this intent must not expose + * any personal content like existing photos or videos on the device. The + * applications should be careful not to share any photo or video with other + * applications or internet. The activity should use {@link + * android.view.WindowManager.LayoutParams#FLAG_SHOW_WHEN_LOCKED} to display + * on top of the lock screen while secured. There is no activity stack when + * this flag is used, so launching more than one activity is strongly + * discouraged. + * + * @hide + */ + public static final String INTENT_ACTION_STILL_IMAGE_CAMERA_SECURE = + "android.media.action.STILL_IMAGE_CAMERA_SECURE"; + + /** * The name of the Intent action used to launch a camera in video mode. */ public static final String INTENT_ACTION_VIDEO_CAMERA = "android.media.action.VIDEO_CAMERA"; |