filter out 'ghost' events

This commit is contained in:
Adrian Ulrich 2017-02-17 22:14:13 +01:00
parent b39cc52ea4
commit 7240b0089f

View File

@ -277,7 +277,8 @@ public class FileSystemAdapter
@Override
public void onEvent(int event, String path)
{
mActivity.mPagerAdapter.postRequestRequery(FileSystemAdapter.this);
if (path != null) // Android bug? We seem to receive MOVE_SELF events
mActivity.mPagerAdapter.postRequestRequery(FileSystemAdapter.this);
}
}