Commit e651a06b authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Systematic rescan

parent b71e37aa
...@@ -101,7 +101,7 @@ public class PreferencesActivity extends PreferenceActivity implements OnSharedP ...@@ -101,7 +101,7 @@ public class PreferencesActivity extends PreferenceActivity implements OnSharedP
Intent intent = new Intent(getApplicationContext(), SecondaryActivity.class); Intent intent = new Intent(getApplicationContext(), SecondaryActivity.class);
intent.putExtra("fragment", SecondaryActivity.STORAGE_BROWSER); intent.putExtra("fragment", SecondaryActivity.STORAGE_BROWSER);
startActivity(intent); startActivity(intent);
// setResult(RESULT_RESCAN); setResult(RESULT_RESCAN);
return true; return true;
} }
}); });
......
...@@ -155,7 +155,6 @@ public class StorageBrowserAdapter extends BaseBrowserAdapter { ...@@ -155,7 +155,6 @@ public class StorageBrowserAdapter extends BaseBrowserAdapter {
public void run() { public void run() {
if (mMediaDirsLocation == null || mMediaDirsLocation.isEmpty()) if (mMediaDirsLocation == null || mMediaDirsLocation.isEmpty())
fragment.refresh(); fragment.refresh();
fragment.updateLib();
} }
}); });
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment