OSDN Git Service

Remove CameraUtil.launchGallery, ensure SecureCamera uses Gallery up icon
authorAlan Newberger <alann@google.com>
Wed, 30 Oct 2013 19:51:21 +0000 (12:51 -0700)
committerAlan Newberger <alann@google.com>
Wed, 30 Oct 2013 20:27:43 +0000 (13:27 -0700)
commit761306fadfa94b538f43e8cf3463bf6d22814947
tree942a38d3fd28f180df0f621101f83715dcc6c3fa
parentcec75e408a2d451b90bac5f06e10906ffcafff33
Remove CameraUtil.launchGallery, ensure SecureCamera uses Gallery up icon

CameraUtil.launchGallery incorrectly describes a mechanism to call an APP_GALLERY
category intent. Since we're using Gallery icon we should go direct to Gallery,
which IntentHelper already does. Simply removed the util class and call the
helper direct from the activity. Also noticed during testing that the SecureCamera
was not correctly showing the Gallery icon, though its behavior would take user
to Gallery. Finally, removing restriction that the video player intent should
go to Gallery, instead it should route to system preferred intent.

Bug: 11065256
Change-Id: I941f9469de169919c4bac6c91dde7e577921f737
AndroidManifest.xml
src/com/android/camera/CameraActivity.java
src/com/android/camera/util/CameraUtil.java
src_pd/com/android/camera/util/IntentHelper.java