Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a3b77e5c authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Catch and log exception in DirectoryFragment.onContextItemSelected()" into main

parents 0aa96f91 b9ca39fb
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -751,7 +751,12 @@ public class DirectoryFragment extends Fragment implements SwipeRefreshLayout.On

    @Override
    public boolean onContextItemSelected(MenuItem item) {
        try {
            return handleMenuItemClick(item);
        } catch (Exception e) {
            Log.e(TAG, "Cannot handle menu item " + item.getItemId(), e);
            return false;
        }
    }

    private void onCopyDestinationPicked(int resultCode, Intent data) {