From 34f09ca843268ea8aee108038b78abbc8e520ec7 Mon Sep 17 00:00:00 2001 From: Anthony Hugh Date: Fri, 4 Mar 2016 12:03:37 -0800 Subject: [PATCH] Add system wide long-press back button functionality This CL adds long-press back button functionality as a system intercepted keypress. Incorporated in this is an update to clockwork overlays so that long-press on back will launch ACTION_VOICE_ASSIST. BUG: 27313719 BUG: 27427088 Change-Id: Iaff337dc50e0022d2392c19d095cec98563b1c7d --- core/res/res/values/config.xml | 7 +++ core/res/res/values/symbols.xml | 1 + .../server/policy/PhoneWindowManager.java | 61 +++++++++++++++++++ 3 files changed, 69 insertions(+) diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml index ce5d07c1e6ed3..51cd0299b4f2a 100644 --- a/core/res/res/values/config.xml +++ b/core/res/res/values/config.xml @@ -805,6 +805,13 @@ --> 1 + + 0 +