summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormingwax <mingwax@codeaurora.org>2016-10-11 17:24:39 +0800
committerSteve Kondik <steve@cyngn.com>2016-11-13 23:33:36 -0800
commit7f040079cb93d6b5180147cd369e73d43078c91a (patch)
treeb5fa30d8ab3c976d16aa61525bfbea1916417647
parent9916e1e62cc36b25a7c30d1fd9aaace5d05a26dc (diff)
downloadandroid_packages_apps_Snap-7f040079cb93d6b5180147cd369e73d43078c91a.zip
android_packages_apps_Snap-7f040079cb93d6b5180147cd369e73d43078c91a.tar.gz
android_packages_apps_Snap-7f040079cb93d6b5180147cd369e73d43078c91a.tar.bz2
SnapdragonCamera: Fix launchMode to singleTask
SingleTask can guarantee that there is only one instance of task, when you click the back key once, you can exit the camera. SingleTop sometimes need to click more than once for exit the camera. Change-Id: Ia12f1edcefbe8f78a4b3af0434421947348818d6 CRs-Fixed: 1072004
-rw-r--r--AndroidManifest.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index c7820f5..c3970cd 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -47,7 +47,7 @@
android:clearTaskOnLaunch="true"
android:configChanges="orientation|screenSize|keyboardHidden"
android:label="@string/app_name"
- android:launchMode="singleTop"
+ android:launchMode="singleTask"
android:screenOrientation="portrait"
android:taskAffinity="com.android.camera.CameraActivity"
android:theme="@style/Theme.Camera"