Fix crash on clicking search when no search result

master
qiaozhongliang 13 years ago
parent 08933ddc6e
commit 4ba1cf0108

@ -482,6 +482,9 @@ public class NoteEditActivity extends Activity implements OnClickListener,
@Override
public boolean onPrepareOptionsMenu(Menu menu) {
if (isFinishing()) {
return true;
}
clearSettingState();
menu.clear();
if (mWorkingNote.getFolderId() == Notes.ID_CALL_RECORD_FOLDER) {

Loading…
Cancel
Save