List of usage examples for android.os FileObserver stopWatching
public void stopWatching()
From source file:org.camlistore.UploadService.java
private void stopBackgroundWatchers() { synchronized (UploadService.this) { if (mObservers.isEmpty()) { return; }//from w w w . j a v a2s . c o m Log.d(TAG, "Stopping background watchers..."); for (FileObserver fo : mObservers) { fo.stopWatching(); } mObservers.clear(); } }