From e97c9a244b71b6376003c377b56f7a86bcd0049f Mon Sep 17 00:00:00 2001 From: Jeff Brown Date: Wed, 10 Jun 2015 22:12:54 -0700 Subject: [PATCH] Configure auto-rotation tilt tolerance in config.xml. This allows for the thresholds to be tuned differently for different products as needed. Bug: 18276856 Change-Id: I6c87e683dea6a17cf606203a894c8419e20d3658 --- core/res/res/values/config.xml | 37 ++++++++ core/res/res/values/symbols.xml | 1 + .../policy/WindowOrientationListener.java | 94 +++++++++++++------ tools/orientationplot/README.txt | 2 + tools/orientationplot/orientationplot.py | 2 +- 5 files changed, 104 insertions(+), 32 deletions(-) diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml index db1ac4486b799..e7811df1041af 100755 --- a/core/res/res/values/config.xml +++ b/core/res/res/values/config.xml @@ -572,6 +572,43 @@ true here reverses that logic. --> false + + + -25 70 + -25 65 + -25 60 + -25 65 + +