- Log.d("FileDisplay", "sync of account " + account_name + " is in_progress: " + in_progress);\r
- setProgressBarIndeterminateVisibility(in_progress);\r
- if (!in_progress) {\r
- FileListFragment f = (FileListFragment) getSupportFragmentManager().findFragmentById(R.id.fileList);\r
- if (f != null)\r
- f.populateFileList();\r
+ Log.d("FileDisplay", "sync of account " + account_name + " is in_progress: " + inProgress);\r
+ setProgressBarIndeterminateVisibility(inProgress);\r
+ if (!inProgress) {\r
+ FileListFragment fileListFramgent = (FileListFragment) getSupportFragmentManager().findFragmentById(R.id.fileList);\r
+ if (fileListFramgent != null)\r
+ fileListFramgent.populateFileList();\r