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

Commit 27eee493 authored by Diksha Gohlyan's avatar Diksha Gohlyan Committed by Android (Google) Code Review
Browse files

Merge "Refresh after sd card is formatted" into mainline-prod

parents a7d5a77e f2125e05
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -586,6 +586,9 @@ public class DirectoryFragment extends Fragment implements SwipeRefreshLayout.On

        // Add listener to update contents on sort model change
        mState.sortModel.addListener(mSortListener);
        // After SD card is formatted, we go out of the view and come back. Similarly when users
        // go out of the app to delete some files, we want to refresh the directory.
        onRefresh();
    }

    @Override