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

Commit d9525ed3 authored by kai.cao's avatar kai.cao Committed by Stephen Bird
Browse files

Fix there are no folders in NavigationView Pinned file manager

Procedures

1.Go to Settings -> Security ->Screen pinning and Open the screen pinning.
2.Go to FileManager and Callout the Recents Task.
3.Press the screen pinning button and lock the CMFileManager screen.
4.Press back key sometimes when the scren pinning toast show.
5.Open DrawerLayout and Press the Internal storage
6.Press the All to enter NavigationView.

There are no folders in NavigationView.

Change-Id: I7bbdad87812a66c346c4632886b42c3c79540373
(cherry picked from commit b1bac2dd)
(cherry picked from commit 2fa646a4)
parent 830dad9f
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -729,6 +729,7 @@ public class NavigationActivity extends Activity
            /**NON BLOCK**/
        }

        recycle();
        //All destroy. Continue
        super.onDestroy();
    }
@@ -2525,6 +2526,10 @@ public class NavigationActivity extends Activity
     * @hide
     */
    void exit() {
        finish();
    }

    private void recycle() {
        // Recycle the navigation views
        int cc = this.mNavigationViews.length;
        for (int i = 0; i < cc; i++) {
@@ -2540,7 +2545,6 @@ public class NavigationActivity extends Activity
        } catch (Throwable ex) {
            /**NON BLOCK**/
        }
        finish();
    }

    /**