OSDN Git Service

Camera: allow instant app do IMAGE_CAPTURE
authorYin-Chia Yeh <yinchiayeh@google.com>
Mon, 31 Jul 2017 21:10:58 +0000 (14:10 -0700)
committerYin-Chia Yeh <yinchiayeh@google.com>
Mon, 31 Jul 2017 21:10:58 +0000 (14:10 -0700)
Test: build
Bug: 64137808
Change-Id: I744135c0e13e50378b6f245b4f6ca2aca36936bd

AndroidManifest.xml

index 2d0aeeb..ddb8920 100644 (file)
@@ -97,7 +97,8 @@
             android:label="@string/app_name"
             android:theme="@style/Theme.Camera"
             android:configChanges="orientation|screenSize|keyboardHidden"
-            android:windowSoftInputMode="stateAlwaysHidden|adjustPan">
+            android:windowSoftInputMode="stateAlwaysHidden|adjustPan"
+            android:visibleToInstantApps="true">
             <intent-filter>
                 <action android:name="android.media.action.IMAGE_CAPTURE" />
                 <category android:name="android.intent.category.DEFAULT" />