From c5f0d48f0f50a6b75e7a6d21e9785fc49bff3bf9 Mon Sep 17 00:00:00 2001 From: qimengp Date: Mon, 1 Aug 2016 10:55:45 +0800 Subject: SnapdragonCamera: Fix lockscreen Camera landscape display abnormal When rotating orientation priview view configuration changed and re-layout. Not only cause screen display abnormal, but also make latency in UI. Add "portrait only" property on camera activity can avoid these problems. And Camera UI can deal rotating orientation by its own way which is more stabe and effective. Change-Id: Id84a50de271c511c8c4b2a46a1de27b8eeabd037 --- AndroidManifest.xml | 1 + 1 file changed, 1 insertion(+) mode change 100644 => 100755 AndroidManifest.xml (limited to 'AndroidManifest.xml') diff --git a/AndroidManifest.xml b/AndroidManifest.xml old mode 100644 new mode 100755 index 53ebaa39d..37ce25f8b --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -121,6 +121,7 @@ android:label="@string/snapcam_app_name" android:launchMode="singleInstance" android:logo="@mipmap/ic_launcher_gallery" + android:screenOrientation="portrait" android:taskAffinity="com.android.camera.SecureCameraActivity" android:theme="@style/Theme.Camera" android:windowSoftInputMode="stateAlwaysHidden|adjustPan" > -- cgit v1.2.3