am dad32938: Merge "Add INTENT_ACTION_STILL_IMAGE_CAMERA_SECURE intent." into jb-mr1-dev
* commit 'dad32938cd22c82ae54d0555d205f33c8462e3fb': Add INTENT_ACTION_STILL_IMAGE_CAMERA_SECURE intent.
This commit is contained in:
@@ -172,6 +172,23 @@ public final class MediaStore {
|
|||||||
*/
|
*/
|
||||||
public static final String INTENT_ACTION_STILL_IMAGE_CAMERA = "android.media.action.STILL_IMAGE_CAMERA";
|
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.
|
* The name of the Intent action used to launch a camera in video mode.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user