diff options
| author | kai.cao <kai.cao@ck-telecom.com> | 2015-05-20 11:26:05 +0800 |
|---|---|---|
| committer | Stephen Bird <sbird@cyngn.com> | 2015-05-25 23:01:32 +0000 |
| commit | e03a61363f00d6601bfd5d94ffbb194440c7b0fa (patch) | |
| tree | c8eee5a1d7b9f943f4ef675ee8984a2965bbe315 | |
| parent | 737f2d39adf62cdab95bb687a010d3355ed43a1a (diff) | |
| download | android_packages_apps_CMFileManager-e03a61363f00d6601bfd5d94ffbb194440c7b0fa.tar.gz android_packages_apps_CMFileManager-e03a61363f00d6601bfd5d94ffbb194440c7b0fa.tar.bz2 android_packages_apps_CMFileManager-e03a61363f00d6601bfd5d94ffbb194440c7b0fa.zip | |
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 b1bac2dda52f508a182746817df6228421839151)
(cherry picked from commit 2fa646a48b3229b31e2e1ea1637e9582534005fb)
(cherry picked from commit d9525ed362a2db57d7cda1efa3a3233906200d44)
| -rw-r--r-- | src/com/cyanogenmod/filemanager/activities/NavigationActivity.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/com/cyanogenmod/filemanager/activities/NavigationActivity.java b/src/com/cyanogenmod/filemanager/activities/NavigationActivity.java index b296a402..18026675 100644 --- a/src/com/cyanogenmod/filemanager/activities/NavigationActivity.java +++ b/src/com/cyanogenmod/filemanager/activities/NavigationActivity.java @@ -723,6 +723,7 @@ public class NavigationActivity extends Activity /**NON BLOCK**/ } + recycle(); //All destroy. Continue super.onDestroy(); } @@ -2497,6 +2498,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++) { @@ -2512,7 +2517,6 @@ public class NavigationActivity extends Activity } catch (Throwable ex) { /**NON BLOCK**/ } - finish(); } /** |
