summaryrefslogtreecommitdiffstats
path: root/core/java
diff options
context:
space:
mode:
authorSteve Kondik <shade@chemlab.org>2010-11-12 19:59:42 -0500
committerSteve Kondik <shade@chemlab.org>2010-11-12 19:59:42 -0500
commit691845d64f8a3964f66d4b32583a50f2861b1653 (patch)
tree9c6fedf5bd51e2079e3c9e1f638afc83c59bab46 /core/java
parent7262418e7f2e4a2717b60dcadec2fa25b4842b68 (diff)
downloadframeworks_base-691845d64f8a3964f66d4b32583a50f2861b1653.zip
frameworks_base-691845d64f8a3964f66d4b32583a50f2861b1653.tar.gz
frameworks_base-691845d64f8a3964f66d4b32583a50f2861b1653.tar.bz2
Disable overscrolling by default.
Change-Id: I770b5d1fb59cdd4438d5eedcea8df412cbb0d2ad
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/view/View.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java
index 28597cc..e88c75f 100644
--- a/core/java/android/view/View.java
+++ b/core/java/android/view/View.java
@@ -8839,7 +8839,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, Accessibility
*/
public int getOverscrollMode() {
if (Settings.System.getInt(mContext.getContentResolver(),
- Settings.System.ALLOW_OVERSCROLL, 1) <= 0)
+ Settings.System.ALLOW_OVERSCROLL, 0) <= 0)
return OVERSCROLL_NEVER;
return mOverscrollMode;