diff options
-rw-r--r-- | src/com/android/launcher/GesturesActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher/GesturesActivity.java b/src/com/android/launcher/GesturesActivity.java index 3ea49e251..844392dc2 100644 --- a/src/com/android/launcher/GesturesActivity.java +++ b/src/com/android/launcher/GesturesActivity.java @@ -167,7 +167,7 @@ public class GesturesActivity extends ListActivity { @Override protected void onPrepareDialog(int id, Dialog dialog) { super.onPrepareDialog(id, dialog); - if (id == DIALOG_RENAME_GESTURE) { + if (id == DIALOG_RENAME_GESTURE && mCurrentRenameInfo != null) { mInput.setText(mCurrentRenameInfo.title); } } |