summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSheng-Hao Tsao <shenghao@google.com>2017-03-21 20:55:30 +0800
committerSheng-hao Tsao <shenghao@google.com>2017-03-22 06:16:14 +0000
commitc03313f8d323bf79cf1981fdf4eaea9673d5e5cf (patch)
tree89440c5e47a211196268c7f674b0c7c86d3cbe44
parent9933bc90b48cc8c1ae081cce4fe4982722e6b5dd (diff)
downloadandroid_packages_apps_Camera2-c03313f8d323bf79cf1981fdf4eaea9673d5e5cf.tar.gz
android_packages_apps_Camera2-c03313f8d323bf79cf1981fdf4eaea9673d5e5cf.tar.bz2
android_packages_apps_Camera2-c03313f8d323bf79cf1981fdf4eaea9673d5e5cf.zip
Specify android:resizeableActivity as false
The camera app targets API 24 but does not specify android:resizeableActivity so it is treated as resizeable, which disable the orientation workaround. We should specify android:resizeableActivity as false. BUG=36469955 TEST=Verify in N that default camera shows correct preview Change-Id: I97ca868e6c5b29bc156e8d856ee004b06f2b9878
-rw-r--r--AndroidManifest.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index df4a0c1f4..2d0aeeb28 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -42,6 +42,7 @@
android:icon="@mipmap/logo_camera_color_44in48dp"
android:label="@string/app_name"
android:largeHeap="true"
+ android:resizeableActivity="false"
android:restoreAnyVersion="true"
android:supportsRtl="true"
android:theme="@style/Theme.Camera"