Add activity-alias for video camera
Bug: 7390076
Change-Id: I4827f1b5412476075f89d714fe3f1bbe2576c357
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 88981d1..2ec746b 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -304,14 +304,6 @@
<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>
</activity>
<activity android:name="com.android.camera.SecureCameraActivity"
@@ -354,6 +346,20 @@
</intent-filter>
</activity-alias>
+ <activity-alias android:icon="@mipmap/ic_launcher_video_camera"
+ android:label="@string/video_camera_label"
+ android:name="com.android.camera.VideoCamera"
+ 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>
+
<receiver android:name="com.android.gallery3d.gadget.PhotoAppWidgetProvider"
android:label="@string/appwidget_title">
<intent-filter>