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

Commit 9231cf24 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)
(cherry picked from commit 1a897187)
parent 98e6afe9
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -647,6 +647,7 @@ public class NavigationActivity extends Activity
        if (curDir != null) {
        if (curDir != null) {
            VirtualMountPointConsole vc = VirtualMountPointConsole.getVirtualConsoleForPath(
            VirtualMountPointConsole vc = VirtualMountPointConsole.getVirtualConsoleForPath(
                    mNavigationViews[mCurrentNavigationView].getCurrentDir());
                    mNavigationViews[mCurrentNavigationView].getCurrentDir());
            getCurrentNavigationView().refresh();
            if (vc != null && !vc.isMounted()) {
            if (vc != null && !vc.isMounted()) {
                onRequestBookmarksRefresh();
                onRequestBookmarksRefresh();
                removeUnmountedHistory();
                removeUnmountedHistory();