- boolean in_progress = intent.getBooleanExtra(FileSyncAdapter.IN_PROGRESS, false);\r
- String account_name = intent.getStringExtra(FileSyncAdapter.ACCOUNT_NAME);\r
- 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
+ boolean inProgress = intent.getBooleanExtra(FileSyncService.IN_PROGRESS, false);\r
+ String account_name = intent.getStringExtra(FileSyncService.ACCOUNT_NAME);\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