OSDN Git Service
(root)
/
android-x86
/
packages-apps-Launcher3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f228753
)
Fixes #1945905. Prevents the user from clicking the same button mutiple times.
author
Romain Guy
<romainguy@android.com>
Fri, 26 Jun 2009 17:31:07 +0000
(10:31 -0700)
committer
Romain Guy
<romainguy@android.com>
Fri, 26 Jun 2009 17:31:07 +0000
(10:31 -0700)
src/com/android/launcher/Launcher.java
patch
|
blob
|
history
diff --git
a/src/com/android/launcher/Launcher.java
b/src/com/android/launcher/Launcher.java
index
328a5ca
..
918ffaa
100644
(file)
--- a/
src/com/android/launcher/Launcher.java
+++ b/
src/com/android/launcher/Launcher.java
@@
-614,9
+614,11
@@
public final class Launcher extends Activity implements View.OnClickListener, On
}
private void createGesture() {
- mCurrentGesture = mGesturesOverlay.getGesture();
- mWaitingForResult = true;
- pickShortcut(REQUEST_PICK_GESTURE_ACTION, R.string.title_select_shortcut);
+ if (!mWaitingForResult) {
+ mCurrentGesture = mGesturesOverlay.getGesture();
+ mWaitingForResult = true;
+ pickShortcut(REQUEST_PICK_GESTURE_ACTION, R.string.title_select_shortcut);
+ }
}
private void completeCreateGesture(Intent data, boolean isShortcut) {