<BUG>new MaterialDialog.Builder(this).title("Choose a file").items(getTitles()).itemsCallback(new MaterialDialog.ListCallback() {@Overridepublic void onSelection(MaterialDialog dialog, View itemView, int position,CharSequence text) {</BUG><CONTEXT>setContentView(v);}@Overrideprotected void onResume() {super.onResume();<extra_id_0>if (position > 1) {</CONTEXT>
new AlertDialog.Builder(this).setTitle("Choose a file").setItems(getTitles(), new DialogInterface.OnClickListener() {public void onClick(DialogInterface dialogInterface, int position) {