summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2011-08-31 22:22:24 -0700
committerJeff Brown <jeffbrown@google.com>2011-08-31 22:22:24 -0700
commit7552c044fcb60cb9db73372229048dcd0e65a955 (patch)
treeec260548243f81b9fc789b84ee11149202316140 /core
parent5a0a47a006008232d9962f2d8e6da8b7b79a4cdd (diff)
downloadframeworks_base-7552c044fcb60cb9db73372229048dcd0e65a955.zip
frameworks_base-7552c044fcb60cb9db73372229048dcd0e65a955.tar.gz
frameworks_base-7552c044fcb60cb9db73372229048dcd0e65a955.tar.bz2
Increase orientation settle time.
Bug: 4981385 Improves noise tolerance and reduces the chance of mispredicted orientation changes. Change-Id: I27f2c05a981ae93b0de41c542d41377b2ea25450
Diffstat (limited to 'core')
-rwxr-xr-xcore/java/android/view/WindowOrientationListener.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/view/WindowOrientationListener.java b/core/java/android/view/WindowOrientationListener.java
index 5d4fbbe..76b47ca 100755
--- a/core/java/android/view/WindowOrientationListener.java
+++ b/core/java/android/view/WindowOrientationListener.java
@@ -332,7 +332,7 @@ public abstract class WindowOrientationListener {
// we perform an orientation change under ideal conditions. It will take
// proportionally longer than this to effect an orientation change when
// the proposed orientation confidence is low.
- private static final float ORIENTATION_SETTLE_TIME_MS = 100;
+ private static final float ORIENTATION_SETTLE_TIME_MS = 250;
// The confidence that we have abount effecting each orientation change.
// When one of these values exceeds 1.0, we have determined our new orientation!