summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMangesh Ghiware <mghiware@google.com>2013-09-25 14:46:30 -0700
committerMangesh Ghiware <mghiware@google.com>2013-09-25 14:46:30 -0700
commitf32062eeef05ad531b02b8fa37c4ae0492b6402c (patch)
tree248a472cf13e90f0027e90608768c3a6f399e17e
parentb998a491a5b24e710bc1711dbb00cbfa05273bf2 (diff)
downloadandroid_packages_apps_Snap-f32062eeef05ad531b02b8fa37c4ae0492b6402c.tar.gz
android_packages_apps_Snap-f32062eeef05ad531b02b8fa37c4ae0492b6402c.tar.bz2
android_packages_apps_Snap-f32062eeef05ad531b02b8fa37c4ae0492b6402c.zip
Use Camcorder label and icon for video camera activity.
Bug: 10932790 Change-Id: If8847e06049e63116381904382db7dfcebb55010
-rw-r--r--AndroidManifest.xml26
-rw-r--r--res/mipmap-hdpi/ic_launcher_video_camera.pngbin0 -> 7051 bytes
-rw-r--r--res/mipmap-mdpi/ic_launcher_video_camera.pngbin0 -> 3482 bytes
-rw-r--r--res/values/strings.xml2
4 files changed, 18 insertions, 10 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 1020116fe..332253f19 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -54,20 +54,10 @@
android:windowSoftInputMode="stateAlwaysHidden|adjustPan" >
<intent-filter>
<action android:name="android.media.action.IMAGE_CAPTURE" />
-
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<intent-filter>
<action android:name="android.media.action.STILL_IMAGE_CAMERA" />
-
- <category android:name="android.intent.category.DEFAULT" />
- </intent-filter>
- <intent-filter>
- <action android:name="android.media.action.VIDEO_CAMERA" />
- <category android:name="android.intent.category.DEFAULT" />
- </intent-filter>
- <intent-filter>
- <action android:name="android.media.action.VIDEO_CAPTURE" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<intent-filter>
@@ -93,6 +83,22 @@
</intent-filter>
</activity-alias>
+ <!-- Video camera and capture use the Camcorder label and icon. -->
+ <activity-alias
+ android:name="com.android.camera.VideoCamera"
+ android:icon="@mipmap/ic_launcher_video_camera"
+ android:label="@string/video_camera_label"
+ android:targetActivity="com.android.camera.CameraActivity">
+ <intent-filter>
+ <action android:name="android.media.action.VIDEO_CAMERA" />
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
+ <intent-filter>
+ <action android:name="android.media.action.VIDEO_CAPTURE" />
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
+ </activity-alias>
+
<activity
android:name="com.android.camera.SecureCameraActivity"
android:clearTaskOnLaunch="true"
diff --git a/res/mipmap-hdpi/ic_launcher_video_camera.png b/res/mipmap-hdpi/ic_launcher_video_camera.png
new file mode 100644
index 000000000..d24265729
--- /dev/null
+++ b/res/mipmap-hdpi/ic_launcher_video_camera.png
Binary files differ
diff --git a/res/mipmap-mdpi/ic_launcher_video_camera.png b/res/mipmap-mdpi/ic_launcher_video_camera.png
new file mode 100644
index 000000000..19f0e64e2
--- /dev/null
+++ b/res/mipmap-mdpi/ic_launcher_video_camera.png
Binary files differ
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 9639f604b..2d8684850 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -17,6 +17,8 @@
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- The name of the Android Camera application. [CHAR LIMIT=16] -->
<string name="app_name">Camera</string>
+ <!-- The label for the Video Camera activity. [CHAR LIMIT=16] -->
+ <string name="video_camera_label">Camcorder</string>
<!-- Used to format short video duration in Details dialog. minutes:seconds e.g. 00:30 -->
<string name="details_ms">%1$02d:%2$02d</string>
<!-- Used to format video duration in Details dialog. hours:minutes:seconds e.g. 0:21:30 -->