commit | b17a726f2fb1066060b5646d35233d26222e8721 | [log] [tgz] |
---|---|---|
author | Daniel Sandler <dsandler@android.com> | Fri Oct 05 14:32:50 2012 -0400 |
committer | Daniel Sandler <dsandler@android.com> | Sun Oct 07 14:48:24 2012 -0400 |
tree | 041c2872b53f265909835736f4f4119afd1df568 | |
parent | 1ad0fd9c04ae2e352c59129b979145e662f25cbc [diff] [blame] |
Notification & settings panel help. Comes up the first time you touch the status bar; explains where quick settings is, and even allows you to swipe down to try it (instead of touching "OK"). Bug: 7209412 Change-Id: I72b1a91902e64b4623e0fcaf1555dc703870b59f
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java index a8a92ec..0c9683d 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
@@ -213,7 +213,7 @@ float deltaX = event.getRawX() - event.getX(); float deltaY = event.getRawY() - event.getY(); event.offsetLocation(deltaX, deltaY); - mVelocityTracker.addMovement(event); + if (mVelocityTracker != null) mVelocityTracker.addMovement(event); event.offsetLocation(-deltaX, -deltaY); }