am f280f202: Fixes #1945905. Prevents the user from clicking the same button mutiple times.
Merge commit 'f280f202e914d92630132a9fab522b80b97ee1d7' * commit 'f280f202e914d92630132a9fab522b80b97ee1d7': Fixes #1945905. Prevents the user from clicking the same button mutiple times.
This commit is contained in:
commit
477253fdee
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue