Fixes #1987902. Do not show the + button when not needed.
This commit is contained in:
1 parent
f984894964
commit
e769bc7602
1 file changed
+9
-7
@@ -607,14 +607,16 @@ public final class Launcher extends Activity implements View.OnClickListener, On
|
|||||||
mWorkspace.post(new Runnable() {
|
mWorkspace.post(new Runnable() {
|
||||||
public void run() {
|
public void run() {
|
||||||
showGesturesPanel(false);
|
showGesturesPanel(false);
|
||||||
mGesturesProcessor.matchGesture(gesture);
|
if (gesture != null) {
|
||||||
mWorkspace.post(new Runnable() {
|
mGesturesProcessor.matchGesture(gesture);
|
||||||
public void run() {
|
mWorkspace.post(new Runnable() {
|
||||||
if (gesture != null) {
|
public void run() {
|
||||||
mGesturesOverlay.setGesture(gesture);
|
if (gesture != null) {
|
||||||
|
mGesturesOverlay.setGesture(gesture);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
});
|
||||||
});
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user