summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYin-Chia Yeh <yinchiayeh@google.com>2017-07-31 14:10:58 -0700
committerYin-Chia Yeh <yinchiayeh@google.com>2017-07-31 14:10:58 -0700
commit0e804c228003e3fa59ff2f408462f9cdd513b7f0 (patch)
tree54e7c8d069c2b5de389bebe65117abd0e48a63e4
parent2d6d4d23a96d011f6d6927b6e244529773256157 (diff)
downloadandroid_packages_apps_Camera2-0e804c228003e3fa59ff2f408462f9cdd513b7f0.tar.gz
android_packages_apps_Camera2-0e804c228003e3fa59ff2f408462f9cdd513b7f0.tar.bz2
android_packages_apps_Camera2-0e804c228003e3fa59ff2f408462f9cdd513b7f0.zip
Camera: allow instant app do IMAGE_CAPTURE
Test: build Bug: 64137808 Change-Id: I744135c0e13e50378b6f245b4f6ca2aca36936bd
-rw-r--r--AndroidManifest.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 2d0aeeb28..ddb89204f 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -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" />