commit | fc30f6b7417acb84a57522a0b9712cfced190d42 | [log] [tgz] |
---|---|---|
author | Bruno Martins <bgcngm@gmail.com> | Fri Jul 07 21:59:59 2017 +0000 |
committer | Dan Pasanen <dan.pasanen@gmail.com> | Thu Jul 27 13:03:29 2017 +0000 |
tree | 1de475d6a7285f593c340f35d918f8a65350355b | |
parent | 7dff2f7ae749e49e31eb23a34fb4ede14af3ebd9 [diff] |
overlay: Enable “Panic Detection” mode * Change Ibf1370ff3cb539a9a54002a8704922744a3ca5d7 on fw/base added support for a security feature. This feature listens for multiple back button presses in succession and then returns the user to their home screen. Change-Id: I5a386782ae2dcb0898491e1af48a73d6fb74a181
diff --git a/overlay/common/frameworks/base/core/res/res/values/config.xml b/overlay/common/frameworks/base/core/res/res/values/config.xml index 1e29fdf..e57ee4a 100644 --- a/overlay/common/frameworks/base/core/res/res/values/config.xml +++ b/overlay/common/frameworks/base/core/res/res/values/config.xml
@@ -75,4 +75,10 @@ <!-- If this is true, long press on power button will be available from a non-interactive state. --> <bool name="config_supportLongPressPowerWhenNonInteractive">true</bool> + + <!-- Control the behavior when the user panic presses the back button. + 0 - Nothing + 1 - Go to home + --> + <integer name="config_backPanicBehavior">1</integer> </resources>