Buggy code:
private static void show ( FragmentManager fm , int type , RootInfo root , DocumentInfo doc , String query , int anim ) { } private static String buildStateKey ( RootInfo root , DocumentInfo doc ) { } public static DirectoryFragment get ( FragmentManager fm ) { } @ Override public View onCreateView ( LayoutInflater inflater , ViewGroup container , Bundle savedInstanceState ) { } @ Override public void onDestroyView ( ) { } @ Override public void onActivityCreated ( Bundle savedInstanceState ) { } @ Override public void onStop ( ) { } @ Override public void onResume ( ) { } public void onDisplayStateChanged ( ) { } public void onUserSortOrderChanged ( ) { } public void onUserModeChanged ( ) { } private void updateDisplayState ( ) { } private OnItemClickListener mItemListener = new OnItemClickListener ( ) { @ Override public void onItemClick ( AdapterView < ? > parent , View view , int position , long id ) { } } ; private MultiChoiceModeListener mMultiListener = new MultiChoiceModeListener ( ) { @ Override public boolean onCreateActionMode ( ActionMode mode , Menu menu ) { } @ Override public boolean onPrepareActionMode ( ActionMode mode , Menu menu ) { } @ Override public boolean onActionItemClicked ( ActionMode mode , MenuItem item ) { } @ Override public void onDestroyActionMode ( ActionMode mode ) { } @ Override public void onItemCheckedStateChanged ( ActionMode mode , int position , long id , boolean checked ) { } } ; private RecyclerListener mRecycleListener = new RecyclerListener ( ) { @ Override public void onMovedToScrapHeap ( View view ) { } } ; private void onShareDocuments ( List < DocumentInfo > docs ) { } private void onDeleteDocuments ( final List < DocumentInfo > docs ) { } private boolean onDeleteDocumentsImpl ( final List < DocumentInfo > docs ) { } private void onCopyDocuments ( final List < DocumentInfo > docs ) { } private void onCutDocuments ( final List < DocumentInfo > docs ) { } private static com . android . documentsui . DocumentsActivity . State getDisplayState ( Fragment fragment ) { } private static abstract class Footer { private final int mItemViewType ; public Footer ( int itemViewType ) { } public abstract View getView ( View convertView , ViewGroup parent ) { } public int getItemViewType ( ) { } } private class LoadingFooter extends DirectoryFragment . Footer { public LoadingFooter ( ) { } @ Override public View getView ( View convertView , ViewGroup parent ) { } } private class MessageFooter extends DirectoryFragment . Footer { private final int mIcon ; private final String mMessage ; public MessageFooter ( int itemViewType , int icon , String message ) { } @ Override public View getView ( View convertView , ViewGroup parent ) { } } private class DocumentsAdapter extends BaseAdapter { private Cursor mCursor ; private int mCursorCount ; private List < DirectoryFragment . Footer > mFooters = Lists . newArrayList ( ) ; public void swapResult ( DirectoryResult result ) { } @ Override public View getView ( int position , View convertView , ViewGroup parent ) { } private View getDocumentView ( int position , View convertView , ViewGroup parent ) { } @ Override public int getCount ( ) { } @ Override public Cursor getItem ( int position ) { } @ Override public long getItemId ( int position ) { } @ Override public int getViewTypeCount ( ) { } @ Override public int getItemViewType ( int position ) { } } private class DeleteFilesTask extends AsyncTask < Void , Integer , Boolean > { private final DocumentInfo [ ] mDocs ; private ProgressDialog mProgressDialog ; public DeleteFilesTask ( DocumentInfo ... docs ) { } @ Override protected Boolean doInBackground ( Void ... params ) { } @ Override protected void onPostExecute ( Boolean result ) { } } private static class ThumbnailAsyncTask extends AsyncTask < Uri , Void , Bitmap > implements Preemptable { private final Uri mUri ; private final ImageView mIconMime ; private final ImageView mIconThumb ; private final Point mThumbSize ; private final float mTargetAlpha ; private final CancellationSignal mSignal ; public ThumbnailAsyncTask ( Uri uri , ImageView iconMime , ImageView iconThumb , Point thumbSize , float targetAlpha ) { } @ Override public void preempt ( ) { } @ Override protected Bitmap doInBackground ( Uri ... params ) { if ( isCancelled ( ) ) return null ; final Context context = mIconThumb . getContext ( ) ; final ContentResolver resolver = context . getContentResolver ( ) ; ContentProviderClient client = null ; Bitmap result = null ; try { client = DocumentsApplication . acquireUnstableProviderOrThrow ( resolver , mUri . getAuthority ( ) ) ; result = DocumentsContract . getDocumentThumbnail ( client , mUri , mThumbSize , mSignal ) ; if ( result != null ) { final ThumbnailCache thumbs = DocumentsApplication . getThumbnailsCache ( context , mThumbSize ) ; thumbs . put ( mUri , result ) ; } } catch ( OperationCanceledException e ) { } catch ( RemoteException e ) { Log . w ( DocumentsActivity . TAG , ( ( ( "Failed<seq2seq4repair_space>to<seq2seq4repair_space>load<seq2seq4repair_space>thumbnail<seq2seq4repair_space>for<seq2seq4repair_space>" + ( mUri ) ) + ":<seq2seq4repair_space>" ) + e ) ) ; <START_BUG> } catch ( Exception e ) { <END_BUG> Log . w ( DocumentsActivity . TAG , ( ( ( "Failed<seq2seq4repair_space>to<seq2seq4repair_space>load<seq2seq4repair_space>thumbnail<seq2seq4repair_space>for<seq2seq4repair_space>" + ( mUri ) ) + ":<seq2seq4repair_space>" ) + e ) ) ; } finally { ContentProviderClient . releaseQuietly ( client ) ; } return result ; } @ Override protected void onPostExecute ( Bitmap result ) { } } private static String formatTime ( Context context , long when ) { } private String findCommonMimeType ( List < String > mimeTypes ) { } private void setEnabledRecursive ( View v , boolean enabled ) { } private boolean isDocumentEnabled ( String docMimeType , int docFlags ) { } public Executor getCurrentExecutor ( ) { } }

Fix:
} catch ( IOException e ) {