Fixes #1977560. Prevents NPE when rotating the gestures activity.
This commit is contained in:
1 parent
c5df5b61b8
commit
6f227eba4b
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user