android: add missing feature tags.
authorYoann Lopes <yoann.lopes@digia.com>
Fri, 21 Feb 2014 13:18:34 +0000 (14:18 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 21 Feb 2014 13:40:42 +0000 (14:40 +0100)
Adding the CAMERA and RECORD_AUDIO permissions implicitely makes some
features a hard requirement for the app.
By adding these features in the .pro file, androiddeployqt will mark
them as unrequired in the final package.

Change-Id: Ie9357d05626cb12272001d63b04e230737fbf1bc
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
src/multimedia/multimedia.pro

index e533493..5ed0cef 100644 (file)
@@ -64,7 +64,9 @@ ANDROID_PERMISSIONS += \
     android.permission.CAMERA \
     android.permission.RECORD_AUDIO
 ANDROID_FEATURES += \
-    android.hardware.camera
+    android.hardware.camera \
+    android.hardware.camera.autofocus \
+    android.hardware.microphone
 MODULE_PLUGIN_TYPES = \
     mediaservice \
     audio \