I created a file with
Intent intent = new Intent(Intent.ACTION_CREATE_DOCUMENT);
intent.addCategory(Intent.CATEGORY_OPENABLE);
intent.setType(FILE_TYPE); // text/*
intent.putExtra(Intent.EXTRA_TITLE, "vocable_export.csv");
startActivityForResult(intent, CREATE_FILE);
// writing to received URI
BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(context.getContentResolver().openOutputStream(es.file, "w");));
Now when I try to select that file again, I get the file I created greyed out, such that I can't select it. I tried killing the app in case I didn't close the file correctly, but that didn't help. I can select & open files dragged into the emulator perfectly fine. What does work is renaming the file so it doesn't contain the (1) at the end any more.
Open code
Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT);
intent.addCategory(Intent.CATEGORY_OPENABLE);
intent.setType(FILE_TYPE); // text/*
startActivityForResult(intent, PICK_FILE);
Android simply seems to fail displaying such files when a (1) is appended on writing a second file with the same name. Renaming such files will get them to show up again in a selectable state.