Handle image capture intent using new camera UI.
Bug: 7166362
Change-Id: I253230342803c12d25025378ef80ba3ef96a1233
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 4a727b2..cc99215 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -267,10 +267,6 @@
android:configChanges="orientation|screenSize|keyboardHidden"
android:clearTaskOnLaunch="true"
android:windowSoftInputMode="stateAlwaysHidden|adjustPan">
- <intent-filter>
- <action android:name="android.media.action.IMAGE_CAPTURE" />
- <category android:name="android.intent.category.DEFAULT" />
- </intent-filter>
</activity>
<!-- New camera doesn't support the CAPTURE intents yet. -->
@@ -283,6 +279,10 @@
android:clearTaskOnLaunch="true"
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>