aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJorge Ruesga <jorge@ruesga.com>2013-11-15 02:27:36 +0100
committerJorge Ruesga <jorge@ruesga.com>2013-11-15 23:53:12 +0100
commitb7ee8617d7799e4473f90ae744ba0a11ebc4fe5d (patch)
treea7fdc97bbb9b57a66bc277c64efaa7323f9155f0 /src
parent8db689f809298da46ac2f724bcf03e792b576bb2 (diff)
CMFM: Fix deadlock
Change-Id: I89c45f03b2ce94666764fc63ca8c4668a71ef7e5 JIRA: CYAN-2650 Issue: https://jira.cyanogenmod.org/browse/CYAN-2650 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Diffstat (limited to 'src')
-rw-r--r--src/com/cyanogenmod/filemanager/ui/widgets/NavigationView.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/cyanogenmod/filemanager/ui/widgets/NavigationView.java b/src/com/cyanogenmod/filemanager/ui/widgets/NavigationView.java
index f17c645..61aa09e 100644
--- a/src/com/cyanogenmod/filemanager/ui/widgets/NavigationView.java
+++ b/src/com/cyanogenmod/filemanager/ui/widgets/NavigationView.java
@@ -806,6 +806,10 @@ public class NavigationView extends RelativeLayout implements
//Check that it is really necessary change the directory
if (!reload && this.mCurrentDir != null && this.mCurrentDir.compareTo(fNewDir) == 0) {
+ synchronized (this.mSync) {
+ mChangingDir = false;
+ mSync.notify();
+ }
return;
}