summaryrefslogtreecommitdiffstats
path: root/res/values/config.xml
diff options
context:
space:
mode:
authorkaiyiz <kaiyiz@codeaurora.org>2014-07-07 15:51:46 +0800
committeremancebo <emancebo@cyngn.com>2014-09-04 15:20:00 -0700
commit9185b33784377f1aabd91ec5ff68170de341f135 (patch)
tree91d4a1e9b9fa4b6e941e826dbe01bf8070b3c08d /res/values/config.xml
parent37621fae82dcad13eec91816174a597ac6bef3a4 (diff)
downloadpackages_apps_InCallUI-9185b33784377f1aabd91ec5ff68170de341f135.tar.gz
packages_apps_InCallUI-9185b33784377f1aabd91ec5ff68170de341f135.tar.bz2
packages_apps_InCallUI-9185b33784377f1aabd91ec5ff68170de341f135.zip
InCallUI: Do not dismiss the keyguard when there is active call
The InCallUI will dismiss the keyguard when there is active call. Add a config to check whether we need to dismiss the Keyguard screen when there is active call, we set false as default. CRs-Fixed: 688484 Conflicts: src/com/android/incallui/InCallPresenter.java Change-Id: Ifd0dbb322562464efacb9c5a8234d55055c9e8e4
Diffstat (limited to 'res/values/config.xml')
-rw-r--r--res/values/config.xml31
1 files changed, 31 insertions, 0 deletions
diff --git a/res/values/config.xml b/res/values/config.xml
new file mode 100644
index 00000000..434a0c3d
--- /dev/null
+++ b/res/values/config.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--Copyright (c) 2014, The Linux Foundation. All rights reserved.
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+ * Neither the name of The Linux Foundation, Inc. nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
+BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+-->
+<resources>
+ <!-- Dismiss the Keyguard screen when there is active call. -->
+ <bool name="config_incall_dismiss_keyguard">true</bool>
+</resources>