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

Commit 1a897187 authored by Stephen Bird's avatar Stephen Bird
Browse files

onResume: Refresh current view

Sometimes files get deleted while FM is in
the background. Let's update the list of
current items every time we resume just in
case.

Change-Id: Ib3076ec97d9a0af23f57bb83bff6e0de9c728285
(cherry picked from commit 039ec12a)
parent 02e4f648
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -635,6 +635,7 @@ public class NavigationActivity extends Activity
        if (curDir != null) {
            VirtualMountPointConsole vc = VirtualMountPointConsole.getVirtualConsoleForPath(
                    mNavigationViews[mCurrentNavigationView].getCurrentDir());
            getCurrentNavigationView().refresh();
            if (vc != null && !vc.isMounted()) {
                onRequestBookmarksRefresh();
                removeUnmountedHistory();