diff options
author | Christopher Tate <ctate@google.com> | 2012-03-05 18:56:25 -0800 |
---|---|---|
committer | Christopher Tate <ctate@google.com> | 2012-03-05 19:00:56 -0800 |
commit | 77dff41d780ce6f9b6e2df335f4b61d476d7bbac (patch) | |
tree | c792784680ff025f8567ed567857fde0c94d7bdc /core | |
parent | 6e73cc2fbd14a5ee7d5bc392f1a0b727e200f91a (diff) | |
download | frameworks_base-77dff41d780ce6f9b6e2df335f4b61d476d7bbac.zip frameworks_base-77dff41d780ce6f9b6e2df335f4b61d476d7bbac.tar.gz frameworks_base-77dff41d780ce6f9b6e2df335f4b61d476d7bbac.tar.bz2 |
Add a config resource to disable key-chord screenshotting
The key chord screenshot mechanism introduces significant latency into
processing of volume-key input; enough to be quite noticeable and
annoying on some kinds of device. This patch introduces a new config
resource entry ("config_enableScreenshotChord"), true by default, so
that products on which this functionality is inapplicable can avoid
its runtime overhead.
Bug 6039047
Change-Id: I3da16080d3a6842f50da8a8b677153dca943382a
Diffstat (limited to 'core')
-rwxr-xr-x | core/res/res/values/config.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml index f4204af..89070cb 100755 --- a/core/res/res/values/config.xml +++ b/core/res/res/values/config.xml @@ -308,6 +308,9 @@ <!-- If this is true, the screen will fade off. --> <bool name="config_animateScreenLights">true</bool> + <!-- If this is true, key chords can be used to take a screenshot on the device. --> + <bool name="config_enableScreenshotChord">true</bool> + <!-- If true, the screen can be rotated via the accelerometer in all 4 rotations as the default behavior. --> <bool name="config_allowAllRotations">false</bool> |