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

Merge commit 'e769bc7602f40a334f4489622b280fecb071d43a'

* commit 'e769bc7602f40a334f4489622b280fecb071d43a':
  Fixes #1987902. Do  not show the + button when not needed.
This commit is contained in:
Romain Guy 2009-07-17 17:13:09 -07:00 committed by Android Git Automerger
commit 130adf67e2
1 changed files with 9 additions and 7 deletions

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);
}
}
}
});
});
}
}
});
}