summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/statusbar
diff options
context:
space:
mode:
authorJens Doll <jens.doll@gmail.com>2013-05-20 13:54:30 +0200
committerJens Doll <jens.doll@gmail.com>2013-05-20 13:54:30 +0200
commit25f7f2edcbc69784f8d50ea5241da5e425b5c7e8 (patch)
treede2b105b2a1c083a738161cda163dd147a891a0a /packages/SystemUI/src/com/android/systemui/statusbar
parent4641ba204604e29befa5d87e0fced5bb9221c380 (diff)
downloadframeworks_base-25f7f2edcbc69784f8d50ea5241da5e425b5c7e8.zip
frameworks_base-25f7f2edcbc69784f8d50ea5241da5e425b5c7e8.tar.gz
frameworks_base-25f7f2edcbc69784f8d50ea5241da5e425b5c7e8.tar.bz2
Pie Controls: Fix snap points position.
This commit reverts an error, introduced by the second pie service commit, which causes the positions where the snap points gets displayed to be inverted. Change-Id: Iedaf6d4773c9ae45fb685d724fad6c35ecdeddf0
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/statusbar')
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/pie/PieView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/pie/PieView.java b/packages/SystemUI/src/com/android/systemui/statusbar/pie/PieView.java
index c850722..7256977 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/pie/PieView.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/pie/PieView.java
@@ -316,7 +316,7 @@ public class PieView extends View implements View.OnTouchListener {
mActiveSnap = null;
// reuse already created snap points
for (PiePosition g : PiePosition.values()) {
- if ((mSnapPointMask & g.FLAG) == 0) {
+ if ((mSnapPointMask & g.FLAG) != 0) {
int x = width / 2;
int y = height / 2;
if (g == PiePosition.LEFT || g == PiePosition.RIGHT) {