setDefaultKeyMode(DEFAULT_KEYS_SHORTCUT);
Intent intent = getIntent();
if (intent.getData() == null) {
intent.setData(Notes.CONTENT_URI);
}
<BUG>requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
setContentView(R.layout.noteslist);</BUG>
getListView().setOnCreateContextMenuListener(this);
getListView().setEmptyView(findViewById(R.id.empty));
getListView().setTextFilterEnabled(true);

setDefaultKeyMode(DEFAULT_KEYS_SHORTCUT);
Intent intent = getIntent();
if (intent.getData() == null) {
intent.setData(Notes.CONTENT_URI);
}
requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
requestWindowFeature(Window.FEATURE_PROGRESS);
setContentView(R.layout.noteslist);
getListView().setOnCreateContextMenuListener(this);
getListView().setEmptyView(findViewById(R.id.empty));
getListView().setTextFilterEnabled(true);
