summaryrefslogtreecommitdiffstats
path: root/tools/orientationplot
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2015-06-10 22:12:54 -0700
committerJeff Brown <jeffbrown@google.com>2015-06-11 18:53:14 -0700
commite97c9a244b71b6376003c377b56f7a86bcd0049f (patch)
treeef05b29509c0872d9f34b9db972d12ef4caad6a5 /tools/orientationplot
parent4039f6570cff0013d3986b522d43e6eab7cc28a6 (diff)
downloadframeworks_base-e97c9a244b71b6376003c377b56f7a86bcd0049f.zip
frameworks_base-e97c9a244b71b6376003c377b56f7a86bcd0049f.tar.gz
frameworks_base-e97c9a244b71b6376003c377b56f7a86bcd0049f.tar.bz2
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
Diffstat (limited to 'tools/orientationplot')
-rw-r--r--tools/orientationplot/README.txt2
-rwxr-xr-xtools/orientationplot/orientationplot.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/tools/orientationplot/README.txt b/tools/orientationplot/README.txt
index d53f65e..958207d 100644
--- a/tools/orientationplot/README.txt
+++ b/tools/orientationplot/README.txt
@@ -9,6 +9,8 @@ PREREQUISITES
2. numpy
3. matplotlib
+eg. sudo apt-get install python-numpy python-matplotlib
+
USAGE
-----
diff --git a/tools/orientationplot/orientationplot.py b/tools/orientationplot/orientationplot.py
index 6fc3922..77ed074 100755
--- a/tools/orientationplot/orientationplot.py
+++ b/tools/orientationplot/orientationplot.py
@@ -440,7 +440,7 @@ class Plotter:
# Notice
print "Window Orientation Listener plotting tool"
print "-----------------------------------------\n"
-print "Please turn on the Window Orientation Listener logging in Development Settings."
+print "Please turn on the Window Orientation Listener logging. See README.txt."
# Start adb.
print "Starting adb logcat.\n"