Fixes #1987902. Do not show the + button when not needed.

This commit is contained in:
Romain Guy
2009-07-17 14:18:50 -07:00
parent f984894964
commit e769bc7602
+9 -7
View File
@@ -607,14 +607,16 @@ public final class Launcher extends Activity implements View.OnClickListener, On
mWorkspace.post(new Runnable() {
public void run() {
showGesturesPanel(false);
mGesturesProcessor.matchGesture(gesture);
mWorkspace.post(new Runnable() {
public void run() {
if (gesture != null) {
mGesturesOverlay.setGesture(gesture);
if (gesture != null) {
mGesturesProcessor.matchGesture(gesture);
mWorkspace.post(new Runnable() {
public void run() {
if (gesture != null) {
mGesturesOverlay.setGesture(gesture);
}
}
}
});
});
}
}
});
}